diff --git a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.php b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.php index f3a3389278a..522c480f65a 100644 --- a/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.php @@ -46,10 +46,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The attachment content. + * Read the properties and relationships of a serviceAnnouncementAttachment object. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -95,7 +96,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The attachment content. + * Read the properties and relationships of a serviceAnnouncementAttachment object. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php b/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php index 96b30c63c46..16d2e6990dc 100644 --- a/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php +++ b/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.php @@ -35,7 +35,7 @@ public function byAgreementAcceptanceId(string $agreementAcceptanceId): Agreemen * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/agreementAcceptances{?%24count,%24filter,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/agreementAcceptances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetQueryParameters.php b/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetQueryParameters.php index 13d8b4f39ff..1b03aed6346 100644 --- a/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetQueryParameters.php @@ -15,12 +15,24 @@ class AgreementAcceptancesRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values */ public ?string $filter = null; + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + /** * @QueryParameter("%24search") * @var string|null $search Search items by search phrases @@ -48,15 +60,19 @@ class AgreementAcceptancesRequestBuilderGetQueryParameters /** * Instantiates a new AgreementAcceptancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; + $this->orderby = $orderby; $this->search = $search; $this->select = $select; $this->skip = $skip; diff --git a/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetRequestConfiguration.php b/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetRequestConfiguration.php index 469b5191869..52daeba32fc 100644 --- a/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilderGetRequestConfiguration.php @@ -29,15 +29,17 @@ public function __construct(?array $headers = null, ?array $options = null, ?Agr /** * Instantiates a new AgreementAcceptancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AgreementAcceptancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AgreementAcceptancesRequestBuilderGetQueryParameters { - return new AgreementAcceptancesRequestBuilderGetQueryParameters($count, $filter, $search, $select, $skip, $top); + 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 { + return new AgreementAcceptancesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Agreements/AgreementsRequestBuilder.php b/src/Generated/Agreements/AgreementsRequestBuilder.php index 512dbeeb20d..2cc60670fff 100644 --- a/src/Generated/Agreements/AgreementsRequestBuilder.php +++ b/src/Generated/Agreements/AgreementsRequestBuilder.php @@ -35,7 +35,7 @@ public function byAgreementId(string $agreementId): AgreementItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/agreements{?%24count,%24filter,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/agreements{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Agreements/AgreementsRequestBuilderGetQueryParameters.php b/src/Generated/Agreements/AgreementsRequestBuilderGetQueryParameters.php index e007ca5f9bf..b967bcb765b 100644 --- a/src/Generated/Agreements/AgreementsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Agreements/AgreementsRequestBuilderGetQueryParameters.php @@ -15,12 +15,24 @@ class AgreementsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values */ public ?string $filter = null; + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + /** * @QueryParameter("%24search") * @var string|null $search Search items by search phrases @@ -48,15 +60,19 @@ class AgreementsRequestBuilderGetQueryParameters /** * Instantiates a new AgreementsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; + $this->orderby = $orderby; $this->search = $search; $this->select = $select; $this->skip = $skip; diff --git a/src/Generated/Agreements/AgreementsRequestBuilderGetRequestConfiguration.php b/src/Generated/Agreements/AgreementsRequestBuilderGetRequestConfiguration.php index ace5e7e42ba..e5672dc6b59 100644 --- a/src/Generated/Agreements/AgreementsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Agreements/AgreementsRequestBuilderGetRequestConfiguration.php @@ -29,15 +29,17 @@ public function __construct(?array $headers = null, ?array $options = null, ?Agr /** * Instantiates a new AgreementsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AgreementsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AgreementsRequestBuilderGetQueryParameters { - return new AgreementsRequestBuilderGetQueryParameters($count, $filter, $search, $select, $skip, $top); + 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 { + return new AgreementsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php index 69976533362..ada165c6e7f 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?BotRequestBuilderDeleteRequestConfiguration $requestConf } /** - * The details of the bot specified in the Teams app manifest. + * Get the bot associated with a specific definition of the TeamsApp. * @param BotRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-1.0 Find more info here */ public function get(?BotRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +93,7 @@ public function toDeleteRequestInformation(?BotRequestBuilderDeleteRequestConfig } /** - * The details of the bot specified in the Teams app manifest. + * Get the bot associated with a specific definition of the TeamsApp. * @param BotRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilderGetQueryParameters.php b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilderGetQueryParameters.php index 9ae9782527d..7e174c4b48c 100644 --- a/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilderGetQueryParameters.php +++ b/src/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The details of the bot specified in the Teams app manifest. + * Get the bot associated with a specific definition of the TeamsApp. */ class BotRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 73cebe29760..95257bc5ead 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 Find more info here */ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -94,7 +94,7 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 13da59c62c1..421bd7f2048 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index b51a859c079..26c439f1bb1 100644 --- a/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The unique identifier for an entity. Read-only. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -96,7 +97,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The unique identifier for an entity. Read-only. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php b/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php index cd04e6be204..855cd16a403 100644 --- a/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/CallRecordsRequestBuilder.php @@ -55,10 +55,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. + * Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record. * @param CallRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/callrecords-cloudcommunications-list-callrecords?view=graph-rest-1.0 Find more info here */ public function get(?CallRecordsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -104,7 +105,7 @@ public function post(CallRecord $body, ?CallRecordsRequestBuilderPostRequestConf } /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. + * Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record. * @param CallRecordsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Communications/CallRecords/CallRecordsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/CallRecords/CallRecordsRequestBuilderGetQueryParameters.php index fd2842372a5..9e17ee2667b 100644 --- a/src/Generated/Communications/CallRecords/CallRecordsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/CallRecords/CallRecordsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. + * Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record. */ class CallRecordsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php index 9c328fca9be..d6cd3418039 100644 --- a/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php +++ b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.php @@ -4,6 +4,8 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\Communications\CallRecords\Item\Organizer_v2\Organizer_v2RequestBuilder; +use Microsoft\Graph\Generated\Communications\CallRecords\Item\Participants_v2\Participants_v2RequestBuilder; use Microsoft\Graph\Generated\Communications\CallRecords\Item\Sessions\SessionsRequestBuilder; use Microsoft\Graph\Generated\Models\CallRecords\CallRecord; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; @@ -17,6 +19,20 @@ */ class CallRecordItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity. + */ + public function organizer_v2(): Organizer_v2RequestBuilder { + return new Organizer_v2RequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. + */ + public function participants_v2(): Participants_v2RequestBuilder { + return new Participants_v2RequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity. */ @@ -53,7 +69,7 @@ public function delete(?CallRecordItemRequestBuilderDeleteRequestConfiguration $ } /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. + * Retrieve the properties and relationships of a callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed. * @param CallRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -101,7 +117,7 @@ public function toDeleteRequestInformation(?CallRecordItemRequestBuilderDeleteRe } /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. + * Retrieve the properties and relationships of a callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed. * @param CallRecordItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilderGetQueryParameters.php index 33272b8777d..664830cfb6e 100644 --- a/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. + * Retrieve the properties and relationships of a callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed. */ class CallRecordItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilder.php b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilder.php new file mode 100644 index 00000000000..cb427581872 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/communications/callRecords/{callRecord%2Did}/organizer_v2{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property organizer_v2 for communications + * @param Organizer_v2RequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?Organizer_v2RequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. + * @param Organizer_v2RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?Organizer_v2RequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Organizer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property organizer_v2 in communications + * @param Organizer $body The request body + * @param Organizer_v2RequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(Organizer $body, ?Organizer_v2RequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Organizer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property organizer_v2 for communications + * @param Organizer_v2RequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?Organizer_v2RequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. + * @param Organizer_v2RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?Organizer_v2RequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property organizer_v2 in communications + * @param Organizer $body The request body + * @param Organizer_v2RequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(Organizer $body, ?Organizer_v2RequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return Organizer_v2RequestBuilder + */ + public function withUrl(string $rawUrl): Organizer_v2RequestBuilder { + return new Organizer_v2RequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderDeleteRequestConfiguration.php b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..200f28fa27d --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderGetQueryParameters.php b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..86f54c8364c --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new Organizer_v2RequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..211db2e17af --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param Organizer_v2RequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?Organizer_v2RequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new Organizer_v2RequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return Organizer_v2RequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): Organizer_v2RequestBuilderGetQueryParameters { + return new Organizer_v2RequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderPatchRequestConfiguration.php b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..92692634021 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Organizer_v2/Organizer_v2RequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Count/CountRequestBuilder.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..7424c093623 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/communications/callRecords/{callRecord%2Did}/participants_v2/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..35694033ac5 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..76fffc1ebe3 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilder.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilder.php new file mode 100644 index 00000000000..03ea8dc7aa1 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/communications/callRecords/{callRecord%2Did}/participants_v2/{participant%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property participants_v2 for communications + * @param ParticipantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ParticipantItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * List of distinct participants in the call. + * @param ParticipantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ParticipantItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Participant::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property participants_v2 in communications + * @param Participant $body The request body + * @param ParticipantItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(Participant $body, ?ParticipantItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Participant::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property participants_v2 for communications + * @param ParticipantItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ParticipantItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * List of distinct participants in the call. + * @param ParticipantItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ParticipantItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property participants_v2 in communications + * @param Participant $body The request body + * @param ParticipantItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(Participant $body, ?ParticipantItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ParticipantItemRequestBuilder + */ + public function withUrl(string $rawUrl): ParticipantItemRequestBuilder { + return new ParticipantItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..32792a0f7a8 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1d35a0cb3ef --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new ParticipantItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f3c09730567 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ParticipantItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ParticipantItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ParticipantItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ParticipantItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ParticipantItemRequestBuilderGetQueryParameters { + return new ParticipantItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..6bfb0a1b747 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Item/ParticipantItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilder.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilder.php new file mode 100644 index 00000000000..2a5c5a15d5c --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. + * @param string $participantId The unique identifier of participant + * @return ParticipantItemRequestBuilder + */ + public function byParticipantId(string $participantId): ParticipantItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['participant%2Did'] = $participantId; + return new ParticipantItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new Participants_v2RequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/communications/callRecords/{callRecord%2Did}/participants_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the list of participant objects associated with a callRecord. + * @param Participants_v2RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/callrecords-callrecord-list-participants_v2?view=graph-rest-1.0 Find more info here + */ + public function get(?Participants_v2RequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ParticipantCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to participants_v2 for communications + * @param Participant $body The request body + * @param Participants_v2RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(Participant $body, ?Participants_v2RequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Participant::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get the list of participant objects associated with a callRecord. + * @param Participants_v2RequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?Participants_v2RequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to participants_v2 for communications + * @param Participant $body The request body + * @param Participants_v2RequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Participant $body, ?Participants_v2RequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return Participants_v2RequestBuilder + */ + public function withUrl(string $rawUrl): Participants_v2RequestBuilder { + return new Participants_v2RequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilderGetQueryParameters.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6977e65e04c --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new Participants_v2RequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + 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) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5624c94bfe5 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param Participants_v2RequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?Participants_v2RequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new Participants_v2RequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return Participants_v2RequestBuilderGetQueryParameters + */ + 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): Participants_v2RequestBuilderGetQueryParameters { + return new Participants_v2RequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..05e7c97fbd3 --- /dev/null +++ b/src/Generated/Communications/CallRecords/Item/Participants_v2/Participants_v2RequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index 3aebcc91fb3..b87f80ad373 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceAppManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -171,7 +171,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php index ea6ff0df539..6ae790d2218 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -53,11 +53,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the targetedManagedAppProtection object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the targetedManagedAppProtection object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php index ef9bce96aef..612793385c9 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the targetedManagedAppProtection object. */ class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index c9e0d3a0088..c14dff918a3 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php index 5230cbcc5ad..53195d29d1f 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the windowsInformationProtection objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the windowsInformationProtection objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php index 075c0ea67e0..e14d5359821 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the windowsInformationProtection objects. */ class ManagedAppPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 98d1e73293e..e141c5e3073 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index f8dc868a894..ae38e904200 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php index 8fffbf674ef..49c7472578f 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -69,11 +69,11 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the iosManagedAppRegistration object. + * Read properties and relationships of the managedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui } /** - * Read properties and relationships of the iosManagedAppRegistration object. + * Read properties and relationships of the managedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php index 92858399e1b..83949e72d79 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosManagedAppRegistration object. + * Read properties and relationships of the managedAppRegistration object. */ class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php index 0e65ab6bf24..81082a207c7 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +91,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. * @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php index b4f489ab30a..8163f822b71 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the androidManagedAppRegistration objects. */ class ManagedAppRegistrationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 1b81a537200..767ab2c7107 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php index e257e0cbe70..1a778e35b25 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. */ class ManagedAppStatusItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php index e6210e194fc..bf46e5a230f 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedEBookAssignment objects. + * List properties and relationships of the iosVppEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 Find more info here */ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPos } /** - * List properties and relationships of the managedEBookAssignment objects. + * List properties and relationships of the iosVppEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index fcec5d957a0..166b758024b 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedEBookAssignment objects. + * List properties and relationships of the iosVppEBookAssignment objects. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index 28836c49d2a..ed1966f7284 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a managedEBookAssignment. + * Deletes a iosVppEBookAssignment. * @param ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,11 @@ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 Find more info here */ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -77,7 +77,7 @@ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemR } /** - * Deletes a managedEBookAssignment. + * Deletes a iosVppEBookAssignment. * @param ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?ManagedEBookAssignmentItemRequestBui } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?ManagedEBookAssignmentItemRequestBuilde } /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php index fa920db8c52..854e051c551 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. */ class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php index 59b3854b25c..1d32b9e08bd 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.php @@ -86,11 +86,11 @@ public function delete(?ManagedEBookItemRequestBuilderDeleteRequestConfiguration } /** - * Read properties and relationships of the iosVppEBook object. + * Read properties and relationships of the managedEBook object. * @param ManagedEBookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -135,7 +135,7 @@ public function toDeleteRequestInformation(?ManagedEBookItemRequestBuilderDelete } /** - * Read properties and relationships of the iosVppEBook object. + * Read properties and relationships of the managedEBook object. * @param ManagedEBookItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php index 5270a02e617..271c28a403d 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosVppEBook object. + * Read properties and relationships of the managedEBook object. */ class ManagedEBookItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php index f82eae537ba..336d1feb54c 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedEBook objects. + * List properties and relationships of the iosVppEBook objects. * @param ManagedEBooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBooksRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedEBook $body, ?ManagedEBooksRequestBuilderPostRequest } /** - * List properties and relationships of the managedEBook objects. + * List properties and relationships of the iosVppEBook objects. * @param ManagedEBooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php index eaa732c2dd0..0e5165889f1 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedEBook objects. + * List properties and relationships of the iosVppEBook objects. */ class ManagedEBooksRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php index 3e80867291c..6cfa31634c9 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php @@ -94,11 +94,11 @@ public function delete(?ManagedDeviceMobileAppConfigurationItemRequestBuilderDel } /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -143,7 +143,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationI } /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php index 22dd29d03d8..4b0240dadba 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedDeviceMobileAppConfiguration object. + * Read properties and relationships of the iosMobileAppConfiguration object. */ class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index 7047e7bd1dd..94261808c62 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -183,11 +183,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a iosLobApp. + * Deletes a windowsMicrosoftEdgeApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -198,11 +198,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the windowsUniversalAppX object. + * Read properties and relationships of the managedMobileLobApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-windowsuniversalappx-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-managedmobilelobapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -213,12 +213,12 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a windowsMicrosoftEdgeApp object. + * Update the properties of a windowsAppX object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowsappx-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -229,7 +229,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC } /** - * Deletes a iosLobApp. + * Deletes a windowsMicrosoftEdgeApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -247,7 +247,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the windowsUniversalAppX object. + * Read properties and relationships of the managedMobileLobApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -268,7 +268,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } /** - * Update the properties of a windowsMicrosoftEdgeApp object. + * Update the properties of a windowsAppX object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php index 8a1ea2565da..3a5d8b56184 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the windowsUniversalAppX object. + * Read properties and relationships of the managedMobileLobApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index 590ca86c7f1..f718543f8aa 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php @@ -180,11 +180,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the macOSLobApp objects. + * List properties and relationships of the androidStoreApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-androidstoreapp-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -211,7 +211,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the macOSLobApp objects. + * List properties and relationships of the androidStoreApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php index 6f85747b153..1b80375edd7 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the macOSLobApp objects. + * List properties and relationships of the androidStoreApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index d550123a080..7054b85ddbc 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the iosCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new windows81CompliancePolicy object. + * Create a new androidCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequ } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the iosCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new windows81CompliancePolicy object. + * Create a new androidCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php index 82d050ad739..b5124d1f52d 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the iosCompliancePolicy objects. */ class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 57b2a520f55..f9095faba6d 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -103,11 +103,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a iosCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -118,11 +118,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the androidWorkProfileCompliancePolicy object. + * Read properties and relationships of the windowsPhone81CompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,12 +133,12 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a windows10MobileCompliancePolicy object. + * Update the properties of a macOSCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -149,7 +149,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a iosCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -167,7 +167,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui } /** - * Read properties and relationships of the androidWorkProfileCompliancePolicy object. + * Read properties and relationships of the windowsPhone81CompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -188,7 +188,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a windows10MobileCompliancePolicy object. + * Update the properties of a macOSCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php index b4825fdae1d..39aca32b9e0 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the androidWorkProfileCompliancePolicy object. + * Read properties and relationships of the windowsPhone81CompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.php index 88dc182d2b6..ccaddcdcc77 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property scheduledActionConfigurations for deviceManagement + * Deletes a deviceComplianceActionItem. * @param DeviceComplianceActionItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceComplianceActionItemItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -45,10 +46,11 @@ public function delete(?DeviceComplianceActionItemItemRequestBuilderDeleteReques } /** - * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * Read properties and relationships of the deviceComplianceActionItem object. * @param DeviceComplianceActionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceComplianceActionItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -59,11 +61,12 @@ public function get(?DeviceComplianceActionItemItemRequestBuilderGetRequestConfi } /** - * Update the navigation property scheduledActionConfigurations in deviceManagement + * Update the properties of a deviceComplianceActionItem object. * @param DeviceComplianceActionItem $body The request body * @param DeviceComplianceActionItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceComplianceActionItem $body, ?DeviceComplianceActionItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -74,7 +77,7 @@ public function patch(DeviceComplianceActionItem $body, ?DeviceComplianceActionI } /** - * Delete navigation property scheduledActionConfigurations for deviceManagement + * Deletes a deviceComplianceActionItem. * @param DeviceComplianceActionItemItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +95,7 @@ public function toDeleteRequestInformation(?DeviceComplianceActionItemItemReques } /** - * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * Read properties and relationships of the deviceComplianceActionItem object. * @param DeviceComplianceActionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +116,7 @@ public function toGetRequestInformation(?DeviceComplianceActionItemItemRequestBu } /** - * Update the navigation property scheduledActionConfigurations in deviceManagement + * Update the properties of a deviceComplianceActionItem object. * @param DeviceComplianceActionItem $body The request body * @param DeviceComplianceActionItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilderGetQueryParameters.php index fcacdfa92b1..fda4d90e47e 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * Read properties and relationships of the deviceComplianceActionItem object. */ class DeviceComplianceActionItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.php index 784865316bf..418b29003dc 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * List properties and relationships of the deviceComplianceActionItem objects. * @param ScheduledActionConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-list?view=graph-rest-1.0 Find more info here */ public function get(?ScheduledActionConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?ScheduledActionConfigurationsRequestBuilderGetRequestConfig } /** - * Create new navigation property to scheduledActionConfigurations for deviceManagement + * Create a new deviceComplianceActionItem object. * @param DeviceComplianceActionItem $body The request body * @param ScheduledActionConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecomplianceactionitem-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceComplianceActionItem $body, ?ScheduledActionConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(DeviceComplianceActionItem $body, ?ScheduledActionConfigura } /** - * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * List properties and relationships of the deviceComplianceActionItem objects. * @param ScheduledActionConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?ScheduledActionConfigurationsRequestBui } /** - * Create new navigation property to scheduledActionConfigurations for deviceManagement + * Create a new deviceComplianceActionItem object. * @param DeviceComplianceActionItem $body The request body * @param ScheduledActionConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilderGetQueryParameters.php index 1b739d2e18d..89d5585fff5 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * List properties and relationships of the deviceComplianceActionItem objects. */ class ScheduledActionConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index c31feeca43b..3347d14d4d5 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the macOSDeviceFeaturesConfiguration objects. + * List properties and relationships of the windows10CustomConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new windowsPhone81GeneralConfiguration object. + * Create a new macOSCustomConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscustomconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the macOSDeviceFeaturesConfiguration objects. + * List properties and relationships of the windows10CustomConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } /** - * Create a new windowsPhone81GeneralConfiguration object. + * Create a new macOSCustomConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php index d88ec630a8e..f8e136ac759 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the macOSDeviceFeaturesConfiguration objects. + * List properties and relationships of the windows10CustomConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index ec8d4c78982..b6efe4b25ef 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php @@ -88,11 +88,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a iosCustomConfiguration. + * Deletes a windows10GeneralConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -103,11 +103,11 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the windows10GeneralConfiguration object. + * Read properties and relationships of the iosCertificateProfile object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscertificateprofile-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -127,12 +127,12 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object. + * Update the properties of a windowsUpdateForBusinessConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -143,7 +143,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a iosCustomConfiguration. + * Deletes a windows10GeneralConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the windows10GeneralConfiguration object. + * Read properties and relationships of the iosCertificateProfile object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -182,7 +182,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object. + * Update the properties of a windowsUpdateForBusinessConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php index daf308427d0..94f7943a648 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the windows10GeneralConfiguration object. + * Read properties and relationships of the iosCertificateProfile object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index be7cad6a152..a79ccec64d5 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index eb973165c2e..ff470b6dab0 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -55,11 +55,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -101,7 +101,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?DeviceEnrollmentConfigurationItemReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php index 12796689b55..382c8125da1 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. */ class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index 9ba92263e32..91ec27ef08d 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -509,7 +509,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-gpanalyticsservice-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -534,7 +534,7 @@ public function getEffectivePermissionsWithScope(string $scope): GetEffectivePer * @param DeviceManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicemanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceManagement $body, ?DeviceManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php index 1747e447a8f..915ba4e6526 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -54,11 +54,11 @@ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfigurati } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -69,12 +69,12 @@ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 Find more info here */ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -103,7 +103,7 @@ public function toDeleteRequestInformation(?RoleDefinitionItemRequestBuilderDele } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,7 +124,7 @@ public function toGetRequestInformation(?RoleDefinitionItemRequestBuilderGetRequ } /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php index 6ab7af424b5..66802fd4f88 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. */ class RoleDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index 268f71f1c9f..1b0b00b736a 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new deviceAndAppManagementRoleDefinition object. + * Create a new roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0 Find more info here */ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostReq } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } /** - * Create a new deviceAndAppManagementRoleDefinition object. + * Create a new roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php index 448a7624ee5..5b0c2ffab4f 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. */ class RoleDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.php b/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.php index fffda1d55e3..a31203c6d30 100644 --- a/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.php +++ b/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.php @@ -43,7 +43,7 @@ public function byDeviceLocalCredentialInfoId(string $deviceLocalCredentialInfoI * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/directory/deviceLocalCredentials{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/directory/deviceLocalCredentials{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilderGetQueryParameters.php b/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilderGetQueryParameters.php index b4935fd45b3..36e334cca56 100644 --- a/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class DeviceLocalCredentialsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class DeviceLocalCredentialsRequestBuilderGetQueryParameters /** * Instantiates a new DeviceLocalCredentialsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class DeviceLocalCredentialsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilderGetRequestConfiguration.php index cffaa1d45ac..0ded126b1a9 100644 --- a/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Directory/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Dev /** * Instantiates a new DeviceLocalCredentialsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Dev * @param int|null $top Show only the first n items * @return DeviceLocalCredentialsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeviceLocalCredentialsRequestBuilderGetQueryParameters { - return new DeviceLocalCredentialsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): DeviceLocalCredentialsRequestBuilderGetQueryParameters { + return new DeviceLocalCredentialsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.php b/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.php index 00ca846fc5b..7cd3aa52b25 100644 --- a/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.php +++ b/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.php @@ -22,7 +22,7 @@ class DeviceLocalCredentialInfoItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters.php b/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters.php index 2af0c1b6c6d..5d3b210955e 100644 --- a/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters /** * Instantiates a new DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration.php index 0adcd7f8763..0d7e885d828 100644 --- a/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Directory/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Dev /** * Instantiates a new DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters { - return new DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters { + return new DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php index d959a736553..400b38db63c 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get allTime from drives + * Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API. * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/itemanalytics-get?view=graph-rest-1.0 Find more info here */ public function get(?AllTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -45,7 +46,7 @@ public function get(?AllTimeRequestBuilderGetRequestConfiguration $requestConfig } /** - * Get allTime from drives + * Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API. * @param AllTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php index 9a679144445..8a67cea982f 100644 --- a/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get allTime from drives + * Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API. */ class AllTimeRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php index 419c92ac755..47be9ad9743 100644 --- a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php @@ -60,12 +60,12 @@ public function get(?RetentionLabelRequestBuilderGetRequestConfiguration $reques } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 Find more info here */ public function patch(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function toGetRequestInformation(?RetentionLabelRequestBuilderGetRequestC } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php index 79bb6708a7a..30cb9209866 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Abs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php index 989ecfb31d3..5178f48b444 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\AccrInt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the calcMethod property value. The calcMethod property - * @return Json|null - */ - public function getCalcMethod(): ?Json { - $val = $this->getBackingStore()->get('calcMethod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'calcMethod'"); - } - /** * The deserialization information for the current model * @return array @@ -87,102 +62,14 @@ public function getCalcMethod(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'calcMethod' => fn(ParseNode $n) => $o->setCalcMethod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstInterest' => fn(ParseNode $n) => $o->setFirstInterest($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'par' => fn(ParseNode $n) => $o->setPar($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstInterest property value. The firstInterest property - * @return Json|null - */ - public function getFirstInterest(): ?Json { - $val = $this->getBackingStore()->get('firstInterest'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstInterest'"); - } - - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the par property value. The par property - * @return Json|null - */ - public function getPar(): ?Json { - $val = $this->getBackingStore()->get('par'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'par'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('calcMethod', $this->getCalcMethod()); - $writer->writeObjectValue('firstInterest', $this->getFirstInterest()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('par', $this->getPar()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -202,68 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the calcMethod property value. The calcMethod property - * @param Json|null $value Value to set for the calcMethod property. - */ - public function setCalcMethod(?Json $value): void { - $this->getBackingStore()->set('calcMethod', $value); - } - - /** - * Sets the firstInterest property value. The firstInterest property - * @param Json|null $value Value to set for the firstInterest property. - */ - public function setFirstInterest(?Json $value): void { - $this->getBackingStore()->set('firstInterest', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the par property value. The par property - * @param Json|null $value Value to set for the par property. - */ - public function setPar(?Json $value): void { - $this->getBackingStore()->set('par', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php index ea9dce6cea3..46d4c0364c6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\AccrIntM; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'par' => fn(ParseNode $n) => $o->setPar($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the par property value. The par property - * @return Json|null - */ - public function getPar(): ?Json { - $val = $this->getBackingStore()->get('par'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'par'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('par', $this->getPar()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the par property value. The par property - * @param Json|null $value Value to set for the par property. - */ - public function setPar(?Json $value): void { - $this->getBackingStore()->set('par', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php index 5a4a398a6d7..c66f5694585 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Acos; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php index 823ba63f8a2..df76996d9a2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Acosh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php index 15729435b6d..55c0e7118fc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Acot; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php index 3fadc55ebed..17bafb4ea5a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Acoth; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php index e6a78b7b512..3655e410da8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\AmorDegrc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - - /** - * Gets the datePurchased property value. The datePurchased property - * @return Json|null - */ - public function getDatePurchased(): ?Json { - $val = $this->getBackingStore()->get('datePurchased'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'datePurchased'"); - } - /** * The deserialization information for the current model * @return array @@ -99,76 +62,14 @@ public function getDatePurchased(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'datePurchased' => fn(ParseNode $n) => $o->setDatePurchased($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstPeriod' => fn(ParseNode $n) => $o->setFirstPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'period' => fn(ParseNode $n) => $o->setPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstPeriod property value. The firstPeriod property - * @return Json|null - */ - public function getFirstPeriod(): ?Json { - $val = $this->getBackingStore()->get('firstPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstPeriod'"); - } - - /** - * Gets the period property value. The period property - * @return Json|null - */ - public function getPeriod(): ?Json { - $val = $this->getBackingStore()->get('period'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'period'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('datePurchased', $this->getDatePurchased()); - $writer->writeObjectValue('firstPeriod', $this->getFirstPeriod()); - $writer->writeObjectValue('period', $this->getPeriod()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the datePurchased property value. The datePurchased property - * @param Json|null $value Value to set for the datePurchased property. - */ - public function setDatePurchased(?Json $value): void { - $this->getBackingStore()->set('datePurchased', $value); - } - - /** - * Sets the firstPeriod property value. The firstPeriod property - * @param Json|null $value Value to set for the firstPeriod property. - */ - public function setFirstPeriod(?Json $value): void { - $this->getBackingStore()->set('firstPeriod', $value); - } - - /** - * Sets the period property value. The period property - * @param Json|null $value Value to set for the period property. - */ - public function setPeriod(?Json $value): void { - $this->getBackingStore()->set('period', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php index 2a42c7c115e..469e1a6dbbf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\AmorLinc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - - /** - * Gets the datePurchased property value. The datePurchased property - * @return Json|null - */ - public function getDatePurchased(): ?Json { - $val = $this->getBackingStore()->get('datePurchased'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'datePurchased'"); - } - /** * The deserialization information for the current model * @return array @@ -99,76 +62,14 @@ public function getDatePurchased(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'datePurchased' => fn(ParseNode $n) => $o->setDatePurchased($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstPeriod' => fn(ParseNode $n) => $o->setFirstPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'period' => fn(ParseNode $n) => $o->setPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstPeriod property value. The firstPeriod property - * @return Json|null - */ - public function getFirstPeriod(): ?Json { - $val = $this->getBackingStore()->get('firstPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstPeriod'"); - } - - /** - * Gets the period property value. The period property - * @return Json|null - */ - public function getPeriod(): ?Json { - $val = $this->getBackingStore()->get('period'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'period'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('datePurchased', $this->getDatePurchased()); - $writer->writeObjectValue('firstPeriod', $this->getFirstPeriod()); - $writer->writeObjectValue('period', $this->getPeriod()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the datePurchased property value. The datePurchased property - * @param Json|null $value Value to set for the datePurchased property. - */ - public function setDatePurchased(?Json $value): void { - $this->getBackingStore()->set('datePurchased', $value); - } - - /** - * Sets the firstPeriod property value. The firstPeriod property - * @param Json|null $value Value to set for the firstPeriod property. - */ - public function setFirstPeriod(?Json $value): void { - $this->getBackingStore()->set('firstPeriod', $value); - } - - /** - * Sets the period property value. The period property - * @param Json|null $value Value to set for the period property. - */ - public function setPeriod(?Json $value): void { - $this->getBackingStore()->set('period', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php index e98422f1e11..d20684e31c3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Arabic; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php index 320301f5339..2ddf4c8ee6e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Areas; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php index f496cb916fc..a3d7daaa1b0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Asc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php index bb600e78f1f..171236925f7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Asin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php index 8d769a3a297..7892480871f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Asinh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php index 218e740f64b..126e737ddec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Atan; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php index 3c59b1f9db9..41423f16b0f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Atan2; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'xNum' => fn(ParseNode $n) => $o->setXNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yNum' => fn(ParseNode $n) => $o->setYNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the xNum property value. The xNum property - * @return Json|null - */ - public function getXNum(): ?Json { - $val = $this->getBackingStore()->get('xNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'xNum'"); - } - - /** - * Gets the yNum property value. The yNum property - * @return Json|null - */ - public function getYNum(): ?Json { - $val = $this->getBackingStore()->get('yNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yNum'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('xNum', $this->getXNum()); - $writer->writeObjectValue('yNum', $this->getYNum()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the xNum property value. The xNum property - * @param Json|null $value Value to set for the xNum property. - */ - public function setXNum(?Json $value): void { - $this->getBackingStore()->set('xNum', $value); - } - - /** - * Sets the yNum property value. The yNum property - * @param Json|null $value Value to set for the yNum property. - */ - public function setYNum(?Json $value): void { - $this->getBackingStore()->set('yNum', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php index 7d00b3bd4c8..c887cadcdc9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Atanh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php index 342ab930645..52c02da9f39 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\AveDev; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php index 36555801381..84d95f34a3a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Average; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php index 7539d5ea63e..b280b90a947 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\AverageA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php index 22f7d1a6285..6279203c78b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\AverageIf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the averageRange property value. The averageRange property - * @return Json|null - */ - public function getAverageRange(): ?Json { - $val = $this->getBackingStore()->get('averageRange'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'averageRange'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -68,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getCriteria(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'averageRange' => fn(ParseNode $n) => $o->setAverageRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'range' => fn(ParseNode $n) => $o->setRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the range property value. The range property - * @return Json|null - */ - public function getRange(): ?Json { - $val = $this->getBackingStore()->get('range'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'range'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('averageRange', $this->getAverageRange()); - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('range', $this->getRange()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the averageRange property value. The averageRange property - * @param Json|null $value Value to set for the averageRange property. - */ - public function setAverageRange(?Json $value): void { - $this->getBackingStore()->set('averageRange', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the range property value. The range property - * @param Json|null $value Value to set for the range property. - */ - public function setRange(?Json $value): void { - $this->getBackingStore()->set('range', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php index eed020713e7..773978508a3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\AverageIfs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the averageRange property value. The averageRange property - * @return Json|null - */ - public function getAverageRange(): ?Json { - $val = $this->getBackingStore()->get('averageRange'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'averageRange'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'averageRange' => fn(ParseNode $n) => $o->setAverageRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('averageRange', $this->getAverageRange()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the averageRange property value. The averageRange property - * @param Json|null $value Value to set for the averageRange property. - */ - public function setAverageRange(?Json $value): void { - $this->getBackingStore()->set('averageRange', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php index 3dbeff7db1d..427fde307bd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\BahtText; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php index d8a0c4a89d7..ef57d8ae9b5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Base; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'minLength' => fn(ParseNode $n) => $o->setMinLength($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'radix' => fn(ParseNode $n) => $o->setRadix($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the minLength property value. The minLength property - * @return Json|null - */ - public function getMinLength(): ?Json { - $val = $this->getBackingStore()->get('minLength'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'minLength'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the radix property value. The radix property - * @return Json|null - */ - public function getRadix(): ?Json { - $val = $this->getBackingStore()->get('radix'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'radix'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('minLength', $this->getMinLength()); - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('radix', $this->getRadix()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the minLength property value. The minLength property - * @param Json|null $value Value to set for the minLength property. - */ - public function setMinLength(?Json $value): void { - $this->getBackingStore()->set('minLength', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the radix property value. The radix property - * @param Json|null $value Value to set for the radix property. - */ - public function setRadix(?Json $value): void { - $this->getBackingStore()->set('radix', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php index b264c22c732..6dfd9720d69 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\BesselI; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php index 139b0ff74f9..b29902905f5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\BesselJ; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php index 978b0f6e78a..b442e3cdf6d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\BesselK; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php index 248a67b584c..9ca0dad49ec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\BesselY; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php index fd3380936e3..4f60e0f381c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Beta_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -35,18 +34,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Beta_ return new Beta_DistPostRequestBody(); } - /** - * Gets the A property value. The A property - * @return Json|null - */ - public function getA(): ?Json { - $val = $this->getBackingStore()->get('a'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'a'"); - } - /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @return array|null @@ -60,30 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - - /** - * Gets the B property value. The B property - * @return Json|null - */ - public function getB(): ?Json { - $val = $this->getBackingStore()->get('b'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'b'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -92,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -123,49 +62,17 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'A' => fn(ParseNode $n) => $o->setA($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'B' => fn(ParseNode $n) => $o->setB($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('A', $this->getA()); - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('B', $this->getB()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } - /** - * Sets the A property value. The A property - * @param Json|null $value Value to set for the A property. - */ - public function setA(?Json $value): void { - $this->getBackingStore()->set('a', $value); - } - /** * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @param array $value Value to set for the AdditionalData property. @@ -174,22 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - - /** - * Sets the B property value. The B property - * @param Json|null $value Value to set for the B property. - */ - public function setB(?Json $value): void { - $this->getBackingStore()->set('b', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -198,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php index 7b4374ee3a4..29fbe5077b4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Beta_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -35,18 +34,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Beta_ return new Beta_InvPostRequestBody(); } - /** - * Gets the A property value. The A property - * @return Json|null - */ - public function getA(): ?Json { - $val = $this->getBackingStore()->get('a'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'a'"); - } - /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @return array|null @@ -60,30 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - - /** - * Gets the B property value. The B property - * @return Json|null - */ - public function getB(): ?Json { - $val = $this->getBackingStore()->get('b'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'b'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -92,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - /** * The deserialization information for the current model * @return array @@ -111,47 +62,17 @@ public function getBeta(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'A' => fn(ParseNode $n) => $o->setA($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'B' => fn(ParseNode $n) => $o->setB($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('A', $this->getA()); - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('B', $this->getB()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } - /** - * Sets the A property value. The A property - * @param Json|null $value Value to set for the A property. - */ - public function setA(?Json $value): void { - $this->getBackingStore()->set('a', $value); - } - /** * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @param array $value Value to set for the AdditionalData property. @@ -160,22 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - - /** - * Sets the B property value. The B property - * @param Json|null $value Value to set for the B property. - */ - public function setB(?Json $value): void { - $this->getBackingStore()->set('b', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -184,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php index e9121b27465..15a8b45bcbc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Bin2Dec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php index fe37013357e..23a4c4c7087 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Bin2Hex; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php index 3021aa9ce83..e2411387c41 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Bin2Oct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php index 1a57ba03406..ebe5a9849e1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Binom_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberS' => fn(ParseNode $n) => $o->setNumberS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probabilityS' => fn(ParseNode $n) => $o->setProbabilityS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'trials' => fn(ParseNode $n) => $o->setTrials($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberS property value. The numberS property - * @return Json|null - */ - public function getNumberS(): ?Json { - $val = $this->getBackingStore()->get('numberS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberS'"); - } - - /** - * Gets the probabilityS property value. The probabilityS property - * @return Json|null - */ - public function getProbabilityS(): ?Json { - $val = $this->getBackingStore()->get('probabilityS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probabilityS'"); - } - - /** - * Gets the trials property value. The trials property - * @return Json|null - */ - public function getTrials(): ?Json { - $val = $this->getBackingStore()->get('trials'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'trials'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('numberS', $this->getNumberS()); - $writer->writeObjectValue('probabilityS', $this->getProbabilityS()); - $writer->writeObjectValue('trials', $this->getTrials()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the numberS property value. The numberS property - * @param Json|null $value Value to set for the numberS property. - */ - public function setNumberS(?Json $value): void { - $this->getBackingStore()->set('numberS', $value); - } - - /** - * Sets the probabilityS property value. The probabilityS property - * @param Json|null $value Value to set for the probabilityS property. - */ - public function setProbabilityS(?Json $value): void { - $this->getBackingStore()->set('probabilityS', $value); - } - - /** - * Sets the trials property value. The trials property - * @param Json|null $value Value to set for the trials property. - */ - public function setTrials(?Json $value): void { - $this->getBackingStore()->set('trials', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php index 4689c105d94..38f33aee23d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Binom_Dist_Range; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numberS' => fn(ParseNode $n) => $o->setNumberS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberS2' => fn(ParseNode $n) => $o->setNumberS2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probabilityS' => fn(ParseNode $n) => $o->setProbabilityS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'trials' => fn(ParseNode $n) => $o->setTrials($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberS property value. The numberS property - * @return Json|null - */ - public function getNumberS(): ?Json { - $val = $this->getBackingStore()->get('numberS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberS'"); - } - - /** - * Gets the numberS2 property value. The numberS2 property - * @return Json|null - */ - public function getNumberS2(): ?Json { - $val = $this->getBackingStore()->get('numberS2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberS2'"); - } - - /** - * Gets the probabilityS property value. The probabilityS property - * @return Json|null - */ - public function getProbabilityS(): ?Json { - $val = $this->getBackingStore()->get('probabilityS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probabilityS'"); - } - - /** - * Gets the trials property value. The trials property - * @return Json|null - */ - public function getTrials(): ?Json { - $val = $this->getBackingStore()->get('trials'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'trials'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numberS', $this->getNumberS()); - $writer->writeObjectValue('numberS2', $this->getNumberS2()); - $writer->writeObjectValue('probabilityS', $this->getProbabilityS()); - $writer->writeObjectValue('trials', $this->getTrials()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numberS property value. The numberS property - * @param Json|null $value Value to set for the numberS property. - */ - public function setNumberS(?Json $value): void { - $this->getBackingStore()->set('numberS', $value); - } - - /** - * Sets the numberS2 property value. The numberS2 property - * @param Json|null $value Value to set for the numberS2 property. - */ - public function setNumberS2(?Json $value): void { - $this->getBackingStore()->set('numberS2', $value); - } - - /** - * Sets the probabilityS property value. The probabilityS property - * @param Json|null $value Value to set for the probabilityS property. - */ - public function setProbabilityS(?Json $value): void { - $this->getBackingStore()->set('probabilityS', $value); - } - - /** - * Sets the trials property value. The trials property - * @param Json|null $value Value to set for the trials property. - */ - public function setTrials(?Json $value): void { - $this->getBackingStore()->set('trials', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php index 9f92af6b41f..a81712e3e89 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Binom_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probabilityS' => fn(ParseNode $n) => $o->setProbabilityS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'trials' => fn(ParseNode $n) => $o->setTrials($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probabilityS property value. The probabilityS property - * @return Json|null - */ - public function getProbabilityS(): ?Json { - $val = $this->getBackingStore()->get('probabilityS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probabilityS'"); - } - - /** - * Gets the trials property value. The trials property - * @return Json|null - */ - public function getTrials(): ?Json { - $val = $this->getBackingStore()->get('trials'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'trials'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('probabilityS', $this->getProbabilityS()); - $writer->writeObjectValue('trials', $this->getTrials()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the probabilityS property value. The probabilityS property - * @param Json|null $value Value to set for the probabilityS property. - */ - public function setProbabilityS(?Json $value): void { - $this->getBackingStore()->set('probabilityS', $value); - } - - /** - * Sets the trials property value. The trials property - * @param Json|null $value Value to set for the trials property. - */ - public function setTrials(?Json $value): void { - $this->getBackingStore()->set('trials', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php index 71e289732d4..6f55c21a545 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Bitand; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number1' => fn(ParseNode $n) => $o->setNumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number2' => fn(ParseNode $n) => $o->setNumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number1 property value. The number1 property - * @return Json|null - */ - public function getNumber1(): ?Json { - $val = $this->getBackingStore()->get('number1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number1'"); - } - - /** - * Gets the number2 property value. The number2 property - * @return Json|null - */ - public function getNumber2(): ?Json { - $val = $this->getBackingStore()->get('number2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number1', $this->getNumber1()); - $writer->writeObjectValue('number2', $this->getNumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number1 property value. The number1 property - * @param Json|null $value Value to set for the number1 property. - */ - public function setNumber1(?Json $value): void { - $this->getBackingStore()->set('number1', $value); - } - - /** - * Sets the number2 property value. The number2 property - * @param Json|null $value Value to set for the number2 property. - */ - public function setNumber2(?Json $value): void { - $this->getBackingStore()->set('number2', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php index 8748c8343e6..011cba82b3e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Bitlshift; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'shiftAmount' => fn(ParseNode $n) => $o->setShiftAmount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the shiftAmount property value. The shiftAmount property - * @return Json|null - */ - public function getShiftAmount(): ?Json { - $val = $this->getBackingStore()->get('shiftAmount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'shiftAmount'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('shiftAmount', $this->getShiftAmount()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the shiftAmount property value. The shiftAmount property - * @param Json|null $value Value to set for the shiftAmount property. - */ - public function setShiftAmount(?Json $value): void { - $this->getBackingStore()->set('shiftAmount', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php index d8488acd103..d1e008bfc89 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Bitor; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number1' => fn(ParseNode $n) => $o->setNumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number2' => fn(ParseNode $n) => $o->setNumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number1 property value. The number1 property - * @return Json|null - */ - public function getNumber1(): ?Json { - $val = $this->getBackingStore()->get('number1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number1'"); - } - - /** - * Gets the number2 property value. The number2 property - * @return Json|null - */ - public function getNumber2(): ?Json { - $val = $this->getBackingStore()->get('number2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number1', $this->getNumber1()); - $writer->writeObjectValue('number2', $this->getNumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number1 property value. The number1 property - * @param Json|null $value Value to set for the number1 property. - */ - public function setNumber1(?Json $value): void { - $this->getBackingStore()->set('number1', $value); - } - - /** - * Sets the number2 property value. The number2 property - * @param Json|null $value Value to set for the number2 property. - */ - public function setNumber2(?Json $value): void { - $this->getBackingStore()->set('number2', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php index 5c5c0851d33..7f52157dcc0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Bitrshift; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'shiftAmount' => fn(ParseNode $n) => $o->setShiftAmount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the shiftAmount property value. The shiftAmount property - * @return Json|null - */ - public function getShiftAmount(): ?Json { - $val = $this->getBackingStore()->get('shiftAmount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'shiftAmount'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('shiftAmount', $this->getShiftAmount()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the shiftAmount property value. The shiftAmount property - * @param Json|null $value Value to set for the shiftAmount property. - */ - public function setShiftAmount(?Json $value): void { - $this->getBackingStore()->set('shiftAmount', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php index 73db0adfdca..a41fcc2f6ff 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Bitxor; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number1' => fn(ParseNode $n) => $o->setNumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number2' => fn(ParseNode $n) => $o->setNumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number1 property value. The number1 property - * @return Json|null - */ - public function getNumber1(): ?Json { - $val = $this->getBackingStore()->get('number1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number1'"); - } - - /** - * Gets the number2 property value. The number2 property - * @return Json|null - */ - public function getNumber2(): ?Json { - $val = $this->getBackingStore()->get('number2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number1', $this->getNumber1()); - $writer->writeObjectValue('number2', $this->getNumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number1 property value. The number1 property - * @param Json|null $value Value to set for the number1 property. - */ - public function setNumber1(?Json $value): void { - $this->getBackingStore()->set('number1', $value); - } - - /** - * Sets the number2 property value. The number2 property - * @param Json|null $value Value to set for the number2 property. - */ - public function setNumber2(?Json $value): void { - $this->getBackingStore()->set('number2', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php index 7eac2ade75a..2d6044da595 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Ceiling_Math; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mode' => fn(ParseNode $n) => $o->setMode($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mode property value. The mode property - * @return Json|null - */ - public function getMode(): ?Json { - $val = $this->getBackingStore()->get('mode'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mode'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mode', $this->getMode()); - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mode property value. The mode property - * @param Json|null $value Value to set for the mode property. - */ - public function setMode(?Json $value): void { - $this->getBackingStore()->set('mode', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php index 8b347d52901..b3ca9e19002 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Ceiling_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php index 53132737703..deda055bfb2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Char; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php index bbdc8530f30..16ad14585b0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ChiSq_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php index 8d22e492d50..c6d723b3fa8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ChiSq_Dist_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php index 340e1259c77..4bf85cd0557 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ChiSq_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php index c19f759cd4b..e98bf711971 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ChiSq_Inv_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php index e22a5b86f16..8b70e22b401 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Choose; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'indexNum' => fn(ParseNode $n) => $o->setIndexNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the indexNum property value. The indexNum property - * @return Json|null - */ - public function getIndexNum(): ?Json { - $val = $this->getBackingStore()->get('indexNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'indexNum'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('indexNum', $this->getIndexNum()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the indexNum property value. The indexNum property - * @param Json|null $value Value to set for the indexNum property. - */ - public function setIndexNum(?Json $value): void { - $this->getBackingStore()->set('indexNum', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php index 805ac7b8494..9abf7377309 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Clean; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php index 87387fc5b2a..e194d0d4e76 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Code; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php index cd9582f6410..c7d023e35d5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Columns; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,7 +62,6 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -96,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php index 2faf440666e..7923ed31f7f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Combin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberChosen' => fn(ParseNode $n) => $o->setNumberChosen($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numberChosen property value. The numberChosen property - * @return Json|null - */ - public function getNumberChosen(): ?Json { - $val = $this->getBackingStore()->get('numberChosen'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberChosen'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numberChosen', $this->getNumberChosen()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numberChosen property value. The numberChosen property - * @param Json|null $value Value to set for the numberChosen property. - */ - public function setNumberChosen(?Json $value): void { - $this->getBackingStore()->set('numberChosen', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php index fc04b07f0bb..24d94b03a0e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Combina; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberChosen' => fn(ParseNode $n) => $o->setNumberChosen($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numberChosen property value. The numberChosen property - * @return Json|null - */ - public function getNumberChosen(): ?Json { - $val = $this->getBackingStore()->get('numberChosen'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberChosen'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numberChosen', $this->getNumberChosen()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numberChosen property value. The numberChosen property - * @param Json|null $value Value to set for the numberChosen property. - */ - public function setNumberChosen(?Json $value): void { - $this->getBackingStore()->set('numberChosen', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php index c5e5fec2079..8ec202e77c8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Complex; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'iNum' => fn(ParseNode $n) => $o->setINum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'realNum' => fn(ParseNode $n) => $o->setRealNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'suffix' => fn(ParseNode $n) => $o->setSuffix($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the iNum property value. The iNum property - * @return Json|null - */ - public function getINum(): ?Json { - $val = $this->getBackingStore()->get('iNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'iNum'"); - } - - /** - * Gets the realNum property value. The realNum property - * @return Json|null - */ - public function getRealNum(): ?Json { - $val = $this->getBackingStore()->get('realNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'realNum'"); - } - - /** - * Gets the suffix property value. The suffix property - * @return Json|null - */ - public function getSuffix(): ?Json { - $val = $this->getBackingStore()->get('suffix'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'suffix'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('iNum', $this->getINum()); - $writer->writeObjectValue('realNum', $this->getRealNum()); - $writer->writeObjectValue('suffix', $this->getSuffix()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the iNum property value. The iNum property - * @param Json|null $value Value to set for the iNum property. - */ - public function setINum(?Json $value): void { - $this->getBackingStore()->set('iNum', $value); - } - - /** - * Sets the realNum property value. The realNum property - * @param Json|null $value Value to set for the realNum property. - */ - public function setRealNum(?Json $value): void { - $this->getBackingStore()->set('realNum', $value); - } - - /** - * Sets the suffix property value. The suffix property - * @param Json|null $value Value to set for the suffix property. - */ - public function setSuffix(?Json $value): void { - $this->getBackingStore()->set('suffix', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php index 43e017172e3..376f24735c5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Concatenate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php index c32a0bc35de..aa65ca3102a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Confidence_Norm; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'size' => fn(ParseNode $n) => $o->setSize($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the size property value. The size property - * @return Json|null - */ - public function getSize(): ?Json { - $val = $this->getBackingStore()->get('size'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'size'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('size', $this->getSize()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the size property value. The size property - * @param Json|null $value Value to set for the size property. - */ - public function setSize(?Json $value): void { - $this->getBackingStore()->set('size', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php index c2a458807de..60d371d5090 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Confidence_T; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'size' => fn(ParseNode $n) => $o->setSize($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the size property value. The size property - * @return Json|null - */ - public function getSize(): ?Json { - $val = $this->getBackingStore()->get('size'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'size'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('size', $this->getSize()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the size property value. The size property - * @param Json|null $value Value to set for the size property. - */ - public function setSize(?Json $value): void { - $this->getBackingStore()->set('size', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php index 1120ced9dab..d371e89605e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Convert; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fromUnit' => fn(ParseNode $n) => $o->setFromUnit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'toUnit' => fn(ParseNode $n) => $o->setToUnit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fromUnit property value. The fromUnit property - * @return Json|null - */ - public function getFromUnit(): ?Json { - $val = $this->getBackingStore()->get('fromUnit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fromUnit'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the toUnit property value. The toUnit property - * @return Json|null - */ - public function getToUnit(): ?Json { - $val = $this->getBackingStore()->get('toUnit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'toUnit'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fromUnit', $this->getFromUnit()); - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('toUnit', $this->getToUnit()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fromUnit property value. The fromUnit property - * @param Json|null $value Value to set for the fromUnit property. - */ - public function setFromUnit(?Json $value): void { - $this->getBackingStore()->set('fromUnit', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the toUnit property value. The toUnit property - * @param Json|null $value Value to set for the toUnit property. - */ - public function setToUnit(?Json $value): void { - $this->getBackingStore()->set('toUnit', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php index f8f5e19e386..1f5318b6dc2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Cos; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php index b93689c078e..cdb743a4f9c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Cosh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php index 57782d2ecc0..bdb36c5da7c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Cot; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php index 79069b8e555..6726c77026f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Coth; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php index ad35d90a4fd..be06c91843b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Count; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php index c33d7813320..c4e496ad749 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CountA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php index 8a52bd8e431..614158d9f97 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CountBlank; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'range' => fn(ParseNode $n) => $o->setRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the range property value. The range property - * @return Json|null - */ - public function getRange(): ?Json { - $val = $this->getBackingStore()->get('range'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'range'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('range', $this->getRange()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the range property value. The range property - * @param Json|null $value Value to set for the range property. - */ - public function setRange(?Json $value): void { - $this->getBackingStore()->set('range', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php index 34db077ac92..0d5df20afbf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CountIf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getCriteria(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'range' => fn(ParseNode $n) => $o->setRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the range property value. The range property - * @return Json|null - */ - public function getRange(): ?Json { - $val = $this->getBackingStore()->get('range'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'range'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('range', $this->getRange()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the range property value. The range property - * @param Json|null $value Value to set for the range property. - */ - public function setRange(?Json $value): void { - $this->getBackingStore()->set('range', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php index 63bae443406..e4b9001bfb9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CountIfs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php index 3470931369a..d4105a531e4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CoupDayBs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php index c457d3a8365..e739985f5c7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CoupDays; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php index 30c60f99ec5..42bfc371715 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CoupDaysNc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php index bfd8a88af7e..1c63b790fae 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CoupNcd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php index d82833d4be8..05d3422aece 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CoupNum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php index 2f14be47800..3a10ac9ca2f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CoupPcd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php index c1427824595..2d2ae782c73 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Csc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php index 0c15075321f..89734589276 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Csch; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php index 1d105d6fe77..5e2d8284ce7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CumIPmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endPeriod property value. The endPeriod property - * @return Json|null - */ - public function getEndPeriod(): ?Json { - $val = $this->getBackingStore()->get('endPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endPeriod'"); - } - /** * The deserialization information for the current model * @return array @@ -75,86 +62,14 @@ public function getEndPeriod(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endPeriod' => fn(ParseNode $n) => $o->setEndPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startPeriod' => fn(ParseNode $n) => $o->setStartPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the startPeriod property value. The startPeriod property - * @return Json|null - */ - public function getStartPeriod(): ?Json { - $val = $this->getBackingStore()->get('startPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startPeriod'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endPeriod', $this->getEndPeriod()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('startPeriod', $this->getStartPeriod()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endPeriod property value. The endPeriod property - * @param Json|null $value Value to set for the endPeriod property. - */ - public function setEndPeriod(?Json $value): void { - $this->getBackingStore()->set('endPeriod', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the startPeriod property value. The startPeriod property - * @param Json|null $value Value to set for the startPeriod property. - */ - public function setStartPeriod(?Json $value): void { - $this->getBackingStore()->set('startPeriod', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php index d612e5aacb2..42cb2fc99af 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\CumPrinc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endPeriod property value. The endPeriod property - * @return Json|null - */ - public function getEndPeriod(): ?Json { - $val = $this->getBackingStore()->get('endPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endPeriod'"); - } - /** * The deserialization information for the current model * @return array @@ -75,86 +62,14 @@ public function getEndPeriod(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endPeriod' => fn(ParseNode $n) => $o->setEndPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startPeriod' => fn(ParseNode $n) => $o->setStartPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the startPeriod property value. The startPeriod property - * @return Json|null - */ - public function getStartPeriod(): ?Json { - $val = $this->getBackingStore()->get('startPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startPeriod'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endPeriod', $this->getEndPeriod()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('startPeriod', $this->getStartPeriod()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endPeriod property value. The endPeriod property - * @param Json|null $value Value to set for the endPeriod property. - */ - public function setEndPeriod(?Json $value): void { - $this->getBackingStore()->set('endPeriod', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the startPeriod property value. The startPeriod property - * @param Json|null $value Value to set for the startPeriod property. - */ - public function setStartPeriod(?Json $value): void { - $this->getBackingStore()->set('startPeriod', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php index e7b7887f88a..24530cedf8e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Date; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the day property value. The day property - * @return Json|null - */ - public function getDay(): ?Json { - $val = $this->getBackingStore()->get('day'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'day'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDay(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'day' => fn(ParseNode $n) => $o->setDay($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'month' => fn(ParseNode $n) => $o->setMonth($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'year' => fn(ParseNode $n) => $o->setYear($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the month property value. The month property - * @return Json|null - */ - public function getMonth(): ?Json { - $val = $this->getBackingStore()->get('month'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'month'"); - } - - /** - * Gets the year property value. The year property - * @return Json|null - */ - public function getYear(): ?Json { - $val = $this->getBackingStore()->get('year'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'year'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('day', $this->getDay()); - $writer->writeObjectValue('month', $this->getMonth()); - $writer->writeObjectValue('year', $this->getYear()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the day property value. The day property - * @param Json|null $value Value to set for the day property. - */ - public function setDay(?Json $value): void { - $this->getBackingStore()->set('day', $value); - } - - /** - * Sets the month property value. The month property - * @param Json|null $value Value to set for the month property. - */ - public function setMonth(?Json $value): void { - $this->getBackingStore()->set('month', $value); - } - - /** - * Sets the year property value. The year property - * @param Json|null $value Value to set for the year property. - */ - public function setYear(?Json $value): void { - $this->getBackingStore()->set('year', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php index 6141b574d20..abc36ce5a98 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Datevalue; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the dateText property value. The dateText property - * @return Json|null - */ - public function getDateText(): ?Json { - $val = $this->getBackingStore()->get('dateText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'dateText'"); - } - /** * The deserialization information for the current model * @return array @@ -75,7 +62,6 @@ public function getDateText(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'dateText' => fn(ParseNode $n) => $o->setDateText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('dateText', $this->getDateText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the dateText property value. The dateText property - * @param Json|null $value Value to set for the dateText property. - */ - public function setDateText(?Json $value): void { - $this->getBackingStore()->set('dateText', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php index add6e5f1da7..a2c3fe75262 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Daverage; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php index 860b27d8538..c466ee7f6ef 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Day; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php index 9bcf1c60ec0..51ad435502c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Days; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php index 39b39bb1a90..61fde248c5e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Days360; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'method' => fn(ParseNode $n) => $o->setMethod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the method property value. The method property - * @return Json|null - */ - public function getMethod(): ?Json { - $val = $this->getBackingStore()->get('method'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'method'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('method', $this->getMethod()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the method property value. The method property - * @param Json|null $value Value to set for the method property. - */ - public function setMethod(?Json $value): void { - $this->getBackingStore()->set('method', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php index ab10dbef256..8ebdb8ab5cf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Db; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getCost(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'month' => fn(ParseNode $n) => $o->setMonth($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'period' => fn(ParseNode $n) => $o->setPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the month property value. The month property - * @return Json|null - */ - public function getMonth(): ?Json { - $val = $this->getBackingStore()->get('month'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'month'"); - } - - /** - * Gets the period property value. The period property - * @return Json|null - */ - public function getPeriod(): ?Json { - $val = $this->getBackingStore()->get('period'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'period'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('month', $this->getMonth()); - $writer->writeObjectValue('period', $this->getPeriod()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the month property value. The month property - * @param Json|null $value Value to set for the month property. - */ - public function setMonth(?Json $value): void { - $this->getBackingStore()->set('month', $value); - } - - /** - * Sets the period property value. The period property - * @param Json|null $value Value to set for the period property. - */ - public function setPeriod(?Json $value): void { - $this->getBackingStore()->set('period', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php index 462752fceb3..4b30289c367 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dbcs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php index de2fa514c14..411d31f2cbf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dcount; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php index 88b463ba20e..b55d8d515d6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\DcountA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php index 39fb4966064..78c0fb6fc50 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Ddb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - - /** - * Gets the factor property value. The factor property - * @return Json|null - */ - public function getFactor(): ?Json { - $val = $this->getBackingStore()->get('factor'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'factor'"); - } - /** * The deserialization information for the current model * @return array @@ -87,60 +62,14 @@ public function getFactor(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'factor' => fn(ParseNode $n) => $o->setFactor($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'period' => fn(ParseNode $n) => $o->setPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the period property value. The period property - * @return Json|null - */ - public function getPeriod(): ?Json { - $val = $this->getBackingStore()->get('period'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'period'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('factor', $this->getFactor()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('period', $this->getPeriod()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the factor property value. The factor property - * @param Json|null $value Value to set for the factor property. - */ - public function setFactor(?Json $value): void { - $this->getBackingStore()->set('factor', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the period property value. The period property - * @param Json|null $value Value to set for the period property. - */ - public function setPeriod(?Json $value): void { - $this->getBackingStore()->set('period', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php index 5de2ea2a49b..a45b8a6dead 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dec2Bin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php index 5d73505bfc8..4f071c60851 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dec2Hex; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php index 0c0724bd2a7..1d378bd87ec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dec2Oct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php index 71d735d82a5..66c5117731d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Decimal; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'radix' => fn(ParseNode $n) => $o->setRadix($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the radix property value. The radix property - * @return Json|null - */ - public function getRadix(): ?Json { - $val = $this->getBackingStore()->get('radix'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'radix'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('radix', $this->getRadix()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the radix property value. The radix property - * @param Json|null $value Value to set for the radix property. - */ - public function setRadix(?Json $value): void { - $this->getBackingStore()->set('radix', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php index 66ba71b3c0e..f7b73f58de8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Degrees; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the angle property value. The angle property - * @return Json|null - */ - public function getAngle(): ?Json { - $val = $this->getBackingStore()->get('angle'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'angle'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,7 +62,6 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'angle' => fn(ParseNode $n) => $o->setAngle($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('angle', $this->getAngle()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -96,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the angle property value. The angle property - * @param Json|null $value Value to set for the angle property. - */ - public function setAngle(?Json $value): void { - $this->getBackingStore()->set('angle', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php index 9228abfb12a..954fb3e57d8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Delta; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number1' => fn(ParseNode $n) => $o->setNumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number2' => fn(ParseNode $n) => $o->setNumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number1 property value. The number1 property - * @return Json|null - */ - public function getNumber1(): ?Json { - $val = $this->getBackingStore()->get('number1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number1'"); - } - - /** - * Gets the number2 property value. The number2 property - * @return Json|null - */ - public function getNumber2(): ?Json { - $val = $this->getBackingStore()->get('number2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number1', $this->getNumber1()); - $writer->writeObjectValue('number2', $this->getNumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number1 property value. The number1 property - * @param Json|null $value Value to set for the number1 property. - */ - public function setNumber1(?Json $value): void { - $this->getBackingStore()->set('number1', $value); - } - - /** - * Sets the number2 property value. The number2 property - * @param Json|null $value Value to set for the number2 property. - */ - public function setNumber2(?Json $value): void { - $this->getBackingStore()->set('number2', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php index 5a8c0c37ea0..d7d22752838 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\DevSq; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php index 8eea9079628..15eaa34a5bc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dget; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php index 2f07ec5bc8a..5cf6d2d2031 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Disc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php index 7c7948b3d0c..43e857822be 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dmax; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php index 18f15bce7db..bde425c0677 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dmin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php index f1812208d6c..5e7577504fd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dollar; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimals property value. The decimals property - * @return Json|null - */ - public function getDecimals(): ?Json { - $val = $this->getBackingStore()->get('decimals'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimals'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDecimals(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimals' => fn(ParseNode $n) => $o->setDecimals($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimals', $this->getDecimals()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimals property value. The decimals property - * @param Json|null $value Value to set for the decimals property. - */ - public function setDecimals(?Json $value): void { - $this->getBackingStore()->set('decimals', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php index 2e6be9d1ae6..3ff908e5a6c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\DollarDe; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fraction' => fn(ParseNode $n) => $o->setFraction($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'fractionalDollar' => fn(ParseNode $n) => $o->setFractionalDollar($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fraction property value. The fraction property - * @return Json|null - */ - public function getFraction(): ?Json { - $val = $this->getBackingStore()->get('fraction'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fraction'"); - } - - /** - * Gets the fractionalDollar property value. The fractionalDollar property - * @return Json|null - */ - public function getFractionalDollar(): ?Json { - $val = $this->getBackingStore()->get('fractionalDollar'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fractionalDollar'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fraction', $this->getFraction()); - $writer->writeObjectValue('fractionalDollar', $this->getFractionalDollar()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fraction property value. The fraction property - * @param Json|null $value Value to set for the fraction property. - */ - public function setFraction(?Json $value): void { - $this->getBackingStore()->set('fraction', $value); - } - - /** - * Sets the fractionalDollar property value. The fractionalDollar property - * @param Json|null $value Value to set for the fractionalDollar property. - */ - public function setFractionalDollar(?Json $value): void { - $this->getBackingStore()->set('fractionalDollar', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php index a20450c00c5..ee6f7b56e02 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\DollarFr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimalDollar property value. The decimalDollar property - * @return Json|null - */ - public function getDecimalDollar(): ?Json { - $val = $this->getBackingStore()->get('decimalDollar'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimalDollar'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDecimalDollar(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimalDollar' => fn(ParseNode $n) => $o->setDecimalDollar($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'fraction' => fn(ParseNode $n) => $o->setFraction($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fraction property value. The fraction property - * @return Json|null - */ - public function getFraction(): ?Json { - $val = $this->getBackingStore()->get('fraction'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fraction'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimalDollar', $this->getDecimalDollar()); - $writer->writeObjectValue('fraction', $this->getFraction()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimalDollar property value. The decimalDollar property - * @param Json|null $value Value to set for the decimalDollar property. - */ - public function setDecimalDollar(?Json $value): void { - $this->getBackingStore()->set('decimalDollar', $value); - } - - /** - * Sets the fraction property value. The fraction property - * @param Json|null $value Value to set for the fraction property. - */ - public function setFraction(?Json $value): void { - $this->getBackingStore()->set('fraction', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php index 90a1e6dc893..073fbac6055 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dproduct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php index 26a53ead8fb..46aca5a5ad8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\DstDev; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php index 1eac9dbfdc1..e315906e9d8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\DstDevP; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php index 22ea16a5d41..945af2d8c48 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dsum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php index ad0eb248e8c..670270c52f4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Duration; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the coupon property value. The coupon property - * @return Json|null - */ - public function getCoupon(): ?Json { - $val = $this->getBackingStore()->get('coupon'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'coupon'"); - } - /** * The deserialization information for the current model * @return array @@ -87,74 +62,14 @@ public function getCoupon(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'coupon' => fn(ParseNode $n) => $o->setCoupon($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('coupon', $this->getCoupon()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the coupon property value. The coupon property - * @param Json|null $value Value to set for the coupon property. - */ - public function setCoupon(?Json $value): void { - $this->getBackingStore()->set('coupon', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php index d15fd0a55ba..93423b2004d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Dvar; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php index 63b6d4530a9..be4aed6b3b2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\DvarP; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php index db37ed6c30d..03704bf6800 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Ecma_Ceiling; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php index b596a51b3ee..2ded01e71f5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Edate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'months' => fn(ParseNode $n) => $o->setMonths($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the months property value. The months property - * @return Json|null - */ - public function getMonths(): ?Json { - $val = $this->getBackingStore()->get('months'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'months'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('months', $this->getMonths()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the months property value. The months property - * @param Json|null $value Value to set for the months property. - */ - public function setMonths(?Json $value): void { - $this->getBackingStore()->set('months', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php index 4353b5dfc6e..94f397c2995 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Effect; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'nominalRate' => fn(ParseNode $n) => $o->setNominalRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'npery' => fn(ParseNode $n) => $o->setNpery($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nominalRate property value. The nominalRate property - * @return Json|null - */ - public function getNominalRate(): ?Json { - $val = $this->getBackingStore()->get('nominalRate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nominalRate'"); - } - - /** - * Gets the npery property value. The npery property - * @return Json|null - */ - public function getNpery(): ?Json { - $val = $this->getBackingStore()->get('npery'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'npery'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('nominalRate', $this->getNominalRate()); - $writer->writeObjectValue('npery', $this->getNpery()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the nominalRate property value. The nominalRate property - * @param Json|null $value Value to set for the nominalRate property. - */ - public function setNominalRate(?Json $value): void { - $this->getBackingStore()->set('nominalRate', $value); - } - - /** - * Sets the npery property value. The npery property - * @param Json|null $value Value to set for the npery property. - */ - public function setNpery(?Json $value): void { - $this->getBackingStore()->set('npery', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php index 91fa64dd7c5..950a4c63691 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\EoMonth; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'months' => fn(ParseNode $n) => $o->setMonths($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the months property value. The months property - * @return Json|null - */ - public function getMonths(): ?Json { - $val = $this->getBackingStore()->get('months'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'months'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('months', $this->getMonths()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the months property value. The months property - * @param Json|null $value Value to set for the months property. - */ - public function setMonths(?Json $value): void { - $this->getBackingStore()->set('months', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php index c838b32c2e6..4789d4d0669 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Erf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'lowerLimit' => fn(ParseNode $n) => $o->setLowerLimit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'upperLimit' => fn(ParseNode $n) => $o->setUpperLimit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lowerLimit property value. The lowerLimit property - * @return Json|null - */ - public function getLowerLimit(): ?Json { - $val = $this->getBackingStore()->get('lowerLimit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lowerLimit'"); - } - - /** - * Gets the upperLimit property value. The upperLimit property - * @return Json|null - */ - public function getUpperLimit(): ?Json { - $val = $this->getBackingStore()->get('upperLimit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'upperLimit'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('lowerLimit', $this->getLowerLimit()); - $writer->writeObjectValue('upperLimit', $this->getUpperLimit()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the lowerLimit property value. The lowerLimit property - * @param Json|null $value Value to set for the lowerLimit property. - */ - public function setLowerLimit(?Json $value): void { - $this->getBackingStore()->set('lowerLimit', $value); - } - - /** - * Sets the upperLimit property value. The upperLimit property - * @param Json|null $value Value to set for the upperLimit property. - */ - public function setUpperLimit(?Json $value): void { - $this->getBackingStore()->set('upperLimit', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php index 87fe39f76a3..c16a5ed9f8b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ErfC; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php index f5b0515ea54..2a27ecb31a1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ErfC_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'X' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the X property value. The X property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('X', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the X property value. The X property - * @param Json|null $value Value to set for the X property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php index 37c29708b5e..8c12f53efa5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Erf_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'X' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the X property value. The X property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('X', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the X property value. The X property - * @param Json|null $value Value to set for the X property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php index 753a17d800f..59400e27d9b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Error_Type; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the errorVal property value. The errorVal property - * @return Json|null - */ - public function getErrorVal(): ?Json { - $val = $this->getBackingStore()->get('errorVal'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'errorVal'"); - } - /** * The deserialization information for the current model * @return array @@ -75,7 +62,6 @@ public function getErrorVal(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'errorVal' => fn(ParseNode $n) => $o->setErrorVal($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('errorVal', $this->getErrorVal()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the errorVal property value. The errorVal property - * @param Json|null $value Value to set for the errorVal property. - */ - public function setErrorVal(?Json $value): void { - $this->getBackingStore()->set('errorVal', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php index 941430cc3ab..9120795068f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\EscapedAnd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php index 5cc2728592b..1266daac106 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\EscapedIf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'logicalTest' => fn(ParseNode $n) => $o->setLogicalTest($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'valueIfFalse' => fn(ParseNode $n) => $o->setValueIfFalse($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'valueIfTrue' => fn(ParseNode $n) => $o->setValueIfTrue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the logicalTest property value. The logicalTest property - * @return Json|null - */ - public function getLogicalTest(): ?Json { - $val = $this->getBackingStore()->get('logicalTest'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'logicalTest'"); - } - - /** - * Gets the valueIfFalse property value. The valueIfFalse property - * @return Json|null - */ - public function getValueIfFalse(): ?Json { - $val = $this->getBackingStore()->get('valueIfFalse'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'valueIfFalse'"); - } - - /** - * Gets the valueIfTrue property value. The valueIfTrue property - * @return Json|null - */ - public function getValueIfTrue(): ?Json { - $val = $this->getBackingStore()->get('valueIfTrue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'valueIfTrue'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('logicalTest', $this->getLogicalTest()); - $writer->writeObjectValue('valueIfFalse', $this->getValueIfFalse()); - $writer->writeObjectValue('valueIfTrue', $this->getValueIfTrue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the logicalTest property value. The logicalTest property - * @param Json|null $value Value to set for the logicalTest property. - */ - public function setLogicalTest(?Json $value): void { - $this->getBackingStore()->set('logicalTest', $value); - } - - /** - * Sets the valueIfFalse property value. The valueIfFalse property - * @param Json|null $value Value to set for the valueIfFalse property. - */ - public function setValueIfFalse(?Json $value): void { - $this->getBackingStore()->set('valueIfFalse', $value); - } - - /** - * Sets the valueIfTrue property value. The valueIfTrue property - * @param Json|null $value Value to set for the valueIfTrue property. - */ - public function setValueIfTrue(?Json $value): void { - $this->getBackingStore()->set('valueIfTrue', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php index 21ed221c5ff..6b1095539fa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\EscapedOr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php index 3ee401470ae..82e5ab5dbf3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\EscapedXor; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php index e2e873c0bbe..96a11ac268c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\EscapedYield; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,100 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php index bc27799b71e..b7267e61abe 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Even; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php index 06103981f84..b5785d4177d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Exact; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text1' => fn(ParseNode $n) => $o->setText1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text2' => fn(ParseNode $n) => $o->setText2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text1 property value. The text1 property - * @return Json|null - */ - public function getText1(): ?Json { - $val = $this->getBackingStore()->get('text1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text1'"); - } - - /** - * Gets the text2 property value. The text2 property - * @return Json|null - */ - public function getText2(): ?Json { - $val = $this->getBackingStore()->get('text2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text1', $this->getText1()); - $writer->writeObjectValue('text2', $this->getText2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text1 property value. The text1 property - * @param Json|null $value Value to set for the text1 property. - */ - public function setText1(?Json $value): void { - $this->getBackingStore()->set('text1', $value); - } - - /** - * Sets the text2 property value. The text2 property - * @param Json|null $value Value to set for the text2 property. - */ - public function setText2(?Json $value): void { - $this->getBackingStore()->set('text2', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php index 7fab74843ad..4b917cebc0d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Exp; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php index 9adcc45103a..0b0ca4ae159 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Expon_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lambda' => fn(ParseNode $n) => $o->setLambda($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lambda property value. The lambda property - * @return Json|null - */ - public function getLambda(): ?Json { - $val = $this->getBackingStore()->get('lambda'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lambda'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('lambda', $this->getLambda()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the lambda property value. The lambda property - * @param Json|null $value Value to set for the lambda property. - */ - public function setLambda(?Json $value): void { - $this->getBackingStore()->set('lambda', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php index 319b15234da..072eac6afa3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\F_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - - /** - * Gets the degFreedom1 property value. The degFreedom1 property - * @return Json|null - */ - public function getDegFreedom1(): ?Json { - $val = $this->getBackingStore()->get('degFreedom1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom1'"); - } - - /** - * Gets the degFreedom2 property value. The degFreedom2 property - * @return Json|null - */ - public function getDegFreedom2(): ?Json { - $val = $this->getBackingStore()->get('degFreedom2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom2'"); - } - /** * The deserialization information for the current model * @return array @@ -99,34 +62,14 @@ public function getDegFreedom2(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom1' => fn(ParseNode $n) => $o->setDegFreedom1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom2' => fn(ParseNode $n) => $o->setDegFreedom2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('degFreedom1', $this->getDegFreedom1()); - $writer->writeObjectValue('degFreedom2', $this->getDegFreedom2()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the degFreedom1 property value. The degFreedom1 property - * @param Json|null $value Value to set for the degFreedom1 property. - */ - public function setDegFreedom1(?Json $value): void { - $this->getBackingStore()->set('degFreedom1', $value); - } - - /** - * Sets the degFreedom2 property value. The degFreedom2 property - * @param Json|null $value Value to set for the degFreedom2 property. - */ - public function setDegFreedom2(?Json $value): void { - $this->getBackingStore()->set('degFreedom2', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php index 2411b478aa1..0a2652a22ce 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\F_Dist_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom1 property value. The degFreedom1 property - * @return Json|null - */ - public function getDegFreedom1(): ?Json { - $val = $this->getBackingStore()->get('degFreedom1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom1'"); - } - - /** - * Gets the degFreedom2 property value. The degFreedom2 property - * @return Json|null - */ - public function getDegFreedom2(): ?Json { - $val = $this->getBackingStore()->get('degFreedom2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom2'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom2(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom1' => fn(ParseNode $n) => $o->setDegFreedom1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom2' => fn(ParseNode $n) => $o->setDegFreedom2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom1', $this->getDegFreedom1()); - $writer->writeObjectValue('degFreedom2', $this->getDegFreedom2()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom1 property value. The degFreedom1 property - * @param Json|null $value Value to set for the degFreedom1 property. - */ - public function setDegFreedom1(?Json $value): void { - $this->getBackingStore()->set('degFreedom1', $value); - } - - /** - * Sets the degFreedom2 property value. The degFreedom2 property - * @param Json|null $value Value to set for the degFreedom2 property. - */ - public function setDegFreedom2(?Json $value): void { - $this->getBackingStore()->set('degFreedom2', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php index 72576ba04d1..dd31116ccf8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\F_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom1 property value. The degFreedom1 property - * @return Json|null - */ - public function getDegFreedom1(): ?Json { - $val = $this->getBackingStore()->get('degFreedom1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom1'"); - } - - /** - * Gets the degFreedom2 property value. The degFreedom2 property - * @return Json|null - */ - public function getDegFreedom2(): ?Json { - $val = $this->getBackingStore()->get('degFreedom2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom2'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom2(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom1' => fn(ParseNode $n) => $o->setDegFreedom1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom2' => fn(ParseNode $n) => $o->setDegFreedom2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom1', $this->getDegFreedom1()); - $writer->writeObjectValue('degFreedom2', $this->getDegFreedom2()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom1 property value. The degFreedom1 property - * @param Json|null $value Value to set for the degFreedom1 property. - */ - public function setDegFreedom1(?Json $value): void { - $this->getBackingStore()->set('degFreedom1', $value); - } - - /** - * Sets the degFreedom2 property value. The degFreedom2 property - * @param Json|null $value Value to set for the degFreedom2 property. - */ - public function setDegFreedom2(?Json $value): void { - $this->getBackingStore()->set('degFreedom2', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php index 8df466fa282..a9b2d55ff33 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\F_Inv_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom1 property value. The degFreedom1 property - * @return Json|null - */ - public function getDegFreedom1(): ?Json { - $val = $this->getBackingStore()->get('degFreedom1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom1'"); - } - - /** - * Gets the degFreedom2 property value. The degFreedom2 property - * @return Json|null - */ - public function getDegFreedom2(): ?Json { - $val = $this->getBackingStore()->get('degFreedom2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom2'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom2(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom1' => fn(ParseNode $n) => $o->setDegFreedom1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom2' => fn(ParseNode $n) => $o->setDegFreedom2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom1', $this->getDegFreedom1()); - $writer->writeObjectValue('degFreedom2', $this->getDegFreedom2()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom1 property value. The degFreedom1 property - * @param Json|null $value Value to set for the degFreedom1 property. - */ - public function setDegFreedom1(?Json $value): void { - $this->getBackingStore()->set('degFreedom1', $value); - } - - /** - * Sets the degFreedom2 property value. The degFreedom2 property - * @param Json|null $value Value to set for the degFreedom2 property. - */ - public function setDegFreedom2(?Json $value): void { - $this->getBackingStore()->set('degFreedom2', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php index 45cd9ad9317..8038a3fded2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Fact; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php index c35ab5e804e..0987d13bfd9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\FactDouble; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php index b23f794eef4..27a4f371b12 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Find; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'findText' => fn(ParseNode $n) => $o->setFindText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'withinText' => fn(ParseNode $n) => $o->setWithinText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the findText property value. The findText property - * @return Json|null - */ - public function getFindText(): ?Json { - $val = $this->getBackingStore()->get('findText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'findText'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - - /** - * Gets the withinText property value. The withinText property - * @return Json|null - */ - public function getWithinText(): ?Json { - $val = $this->getBackingStore()->get('withinText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'withinText'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('findText', $this->getFindText()); - $writer->writeObjectValue('startNum', $this->getStartNum()); - $writer->writeObjectValue('withinText', $this->getWithinText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the findText property value. The findText property - * @param Json|null $value Value to set for the findText property. - */ - public function setFindText(?Json $value): void { - $this->getBackingStore()->set('findText', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - - /** - * Sets the withinText property value. The withinText property - * @param Json|null $value Value to set for the withinText property. - */ - public function setWithinText(?Json $value): void { - $this->getBackingStore()->set('withinText', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php index 0b0923b9632..331e3b15e0f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\FindB; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'findText' => fn(ParseNode $n) => $o->setFindText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'withinText' => fn(ParseNode $n) => $o->setWithinText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the findText property value. The findText property - * @return Json|null - */ - public function getFindText(): ?Json { - $val = $this->getBackingStore()->get('findText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'findText'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - - /** - * Gets the withinText property value. The withinText property - * @return Json|null - */ - public function getWithinText(): ?Json { - $val = $this->getBackingStore()->get('withinText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'withinText'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('findText', $this->getFindText()); - $writer->writeObjectValue('startNum', $this->getStartNum()); - $writer->writeObjectValue('withinText', $this->getWithinText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the findText property value. The findText property - * @param Json|null $value Value to set for the findText property. - */ - public function setFindText(?Json $value): void { - $this->getBackingStore()->set('findText', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - - /** - * Sets the withinText property value. The withinText property - * @param Json|null $value Value to set for the withinText property. - */ - public function setWithinText(?Json $value): void { - $this->getBackingStore()->set('withinText', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php index d000743334e..7b9a0fc2927 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Fisher; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php index ad174964f0e..d425b9c12fb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\FisherInv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'y' => fn(ParseNode $n) => $o->setY($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the y property value. The y property - * @return Json|null - */ - public function getY(): ?Json { - $val = $this->getBackingStore()->get('y'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'y'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('y', $this->getY()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the y property value. The y property - * @param Json|null $value Value to set for the y property. - */ - public function setY(?Json $value): void { - $this->getBackingStore()->set('y', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php index 23d6f922ea4..7f33f1d5d86 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Fixed; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimals property value. The decimals property - * @return Json|null - */ - public function getDecimals(): ?Json { - $val = $this->getBackingStore()->get('decimals'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimals'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDecimals(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimals' => fn(ParseNode $n) => $o->setDecimals($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'noCommas' => fn(ParseNode $n) => $o->setNoCommas($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the noCommas property value. The noCommas property - * @return Json|null - */ - public function getNoCommas(): ?Json { - $val = $this->getBackingStore()->get('noCommas'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'noCommas'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimals', $this->getDecimals()); - $writer->writeObjectValue('noCommas', $this->getNoCommas()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimals property value. The decimals property - * @param Json|null $value Value to set for the decimals property. - */ - public function setDecimals(?Json $value): void { - $this->getBackingStore()->set('decimals', $value); - } - - /** - * Sets the noCommas property value. The noCommas property - * @param Json|null $value Value to set for the noCommas property. - */ - public function setNoCommas(?Json $value): void { - $this->getBackingStore()->set('noCommas', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php index 1653c46a8bf..1e6bc76b2f5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Floor_Math; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mode' => fn(ParseNode $n) => $o->setMode($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mode property value. The mode property - * @return Json|null - */ - public function getMode(): ?Json { - $val = $this->getBackingStore()->get('mode'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mode'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mode', $this->getMode()); - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mode property value. The mode property - * @param Json|null $value Value to set for the mode property. - */ - public function setMode(?Json $value): void { - $this->getBackingStore()->set('mode', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php index 30fecd221b3..d30e9921915 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Floor_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php index 47b2730a9de..2f1b51f978a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Fv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,84 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pmt' => fn(ParseNode $n) => $o->setPmt($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pmt property value. The pmt property - * @return Json|null - */ - public function getPmt(): ?Json { - $val = $this->getBackingStore()->get('pmt'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pmt'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pmt', $this->getPmt()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pmt property value. The pmt property - * @param Json|null $value Value to set for the pmt property. - */ - public function setPmt(?Json $value): void { - $this->getBackingStore()->set('pmt', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php index 834ceb55363..2cd7c960765 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Fvschedule; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'principal' => fn(ParseNode $n) => $o->setPrincipal($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'schedule' => fn(ParseNode $n) => $o->setSchedule($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the principal property value. The principal property - * @return Json|null - */ - public function getPrincipal(): ?Json { - $val = $this->getBackingStore()->get('principal'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'principal'"); - } - - /** - * Gets the schedule property value. The schedule property - * @return Json|null - */ - public function getSchedule(): ?Json { - $val = $this->getBackingStore()->get('schedule'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'schedule'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('principal', $this->getPrincipal()); - $writer->writeObjectValue('schedule', $this->getSchedule()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the principal property value. The principal property - * @param Json|null $value Value to set for the principal property. - */ - public function setPrincipal(?Json $value): void { - $this->getBackingStore()->set('principal', $value); - } - - /** - * Sets the schedule property value. The schedule property - * @param Json|null $value Value to set for the schedule property. - */ - public function setSchedule(?Json $value): void { - $this->getBackingStore()->set('schedule', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php index 6e52b373886..2a4493525ce 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Gamma; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php index 1589c521f8c..eefb33f4a1b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\GammaLn; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php index c8417b916ca..d466d96e6b8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\GammaLn_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php index becdee70c9c..e31f6b0fdd7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Gamma_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -68,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -99,34 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -138,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -154,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php index 6624222d57e..138fe6046a7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Gamma_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -68,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getBeta(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php index 385c8d86b5c..1f6abff7764 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Gauss; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php index 674e323e8af..ea6b51129fa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Gcd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php index 62a9debbadc..e8ebee2096d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\GeStep; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'step' => fn(ParseNode $n) => $o->setStep($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the step property value. The step property - * @return Json|null - */ - public function getStep(): ?Json { - $val = $this->getBackingStore()->get('step'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'step'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('step', $this->getStep()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the step property value. The step property - * @param Json|null $value Value to set for the step property. - */ - public function setStep(?Json $value): void { - $this->getBackingStore()->set('step', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php index 9c9f86cb3ba..a1390eb01f0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\GeoMean; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php index 1484918e0b9..1fe334c1926 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\HarMean; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php index 069d30516d3..36a75bb7946 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Hex2Bin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php index ee633e8e754..27ed2ecb1a4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Hex2Dec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php index a98ec5827d9..bef35105332 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Hex2Oct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php index 2630c0c05b6..a024d5d70e8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Hlookup; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'lookupValue' => fn(ParseNode $n) => $o->setLookupValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rangeLookup' => fn(ParseNode $n) => $o->setRangeLookup($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rowIndexNum' => fn(ParseNode $n) => $o->setRowIndexNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'tableArray' => fn(ParseNode $n) => $o->setTableArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lookupValue property value. The lookupValue property - * @return Json|null - */ - public function getLookupValue(): ?Json { - $val = $this->getBackingStore()->get('lookupValue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupValue'"); - } - - /** - * Gets the rangeLookup property value. The rangeLookup property - * @return Json|null - */ - public function getRangeLookup(): ?Json { - $val = $this->getBackingStore()->get('rangeLookup'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rangeLookup'"); - } - - /** - * Gets the rowIndexNum property value. The rowIndexNum property - * @return Json|null - */ - public function getRowIndexNum(): ?Json { - $val = $this->getBackingStore()->get('rowIndexNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rowIndexNum'"); - } - - /** - * Gets the tableArray property value. The tableArray property - * @return Json|null - */ - public function getTableArray(): ?Json { - $val = $this->getBackingStore()->get('tableArray'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'tableArray'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('lookupValue', $this->getLookupValue()); - $writer->writeObjectValue('rangeLookup', $this->getRangeLookup()); - $writer->writeObjectValue('rowIndexNum', $this->getRowIndexNum()); - $writer->writeObjectValue('tableArray', $this->getTableArray()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the lookupValue property value. The lookupValue property - * @param Json|null $value Value to set for the lookupValue property. - */ - public function setLookupValue(?Json $value): void { - $this->getBackingStore()->set('lookupValue', $value); - } - - /** - * Sets the rangeLookup property value. The rangeLookup property - * @param Json|null $value Value to set for the rangeLookup property. - */ - public function setRangeLookup(?Json $value): void { - $this->getBackingStore()->set('rangeLookup', $value); - } - - /** - * Sets the rowIndexNum property value. The rowIndexNum property - * @param Json|null $value Value to set for the rowIndexNum property. - */ - public function setRowIndexNum(?Json $value): void { - $this->getBackingStore()->set('rowIndexNum', $value); - } - - /** - * Sets the tableArray property value. The tableArray property - * @param Json|null $value Value to set for the tableArray property. - */ - public function setTableArray(?Json $value): void { - $this->getBackingStore()->set('tableArray', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php index 6baf11ab861..e5b840aa5a4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Hour; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php index 4a28f895647..7cf1bfe14ca 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\HypGeom_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberPop' => fn(ParseNode $n) => $o->setNumberPop($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberSample' => fn(ParseNode $n) => $o->setNumberSample($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'populationS' => fn(ParseNode $n) => $o->setPopulationS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'sampleS' => fn(ParseNode $n) => $o->setSampleS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberPop property value. The numberPop property - * @return Json|null - */ - public function getNumberPop(): ?Json { - $val = $this->getBackingStore()->get('numberPop'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberPop'"); - } - - /** - * Gets the numberSample property value. The numberSample property - * @return Json|null - */ - public function getNumberSample(): ?Json { - $val = $this->getBackingStore()->get('numberSample'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberSample'"); - } - - /** - * Gets the populationS property value. The populationS property - * @return Json|null - */ - public function getPopulationS(): ?Json { - $val = $this->getBackingStore()->get('populationS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'populationS'"); - } - - /** - * Gets the sampleS property value. The sampleS property - * @return Json|null - */ - public function getSampleS(): ?Json { - $val = $this->getBackingStore()->get('sampleS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sampleS'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('numberPop', $this->getNumberPop()); - $writer->writeObjectValue('numberSample', $this->getNumberSample()); - $writer->writeObjectValue('populationS', $this->getPopulationS()); - $writer->writeObjectValue('sampleS', $this->getSampleS()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the numberPop property value. The numberPop property - * @param Json|null $value Value to set for the numberPop property. - */ - public function setNumberPop(?Json $value): void { - $this->getBackingStore()->set('numberPop', $value); - } - - /** - * Sets the numberSample property value. The numberSample property - * @param Json|null $value Value to set for the numberSample property. - */ - public function setNumberSample(?Json $value): void { - $this->getBackingStore()->set('numberSample', $value); - } - - /** - * Sets the populationS property value. The populationS property - * @param Json|null $value Value to set for the populationS property. - */ - public function setPopulationS(?Json $value): void { - $this->getBackingStore()->set('populationS', $value); - } - - /** - * Sets the sampleS property value. The sampleS property - * @param Json|null $value Value to set for the sampleS property. - */ - public function setSampleS(?Json $value): void { - $this->getBackingStore()->set('sampleS', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php index aaf92f82264..90fffbf559c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Hyperlink; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'friendlyName' => fn(ParseNode $n) => $o->setFriendlyName($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'linkLocation' => fn(ParseNode $n) => $o->setLinkLocation($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the friendlyName property value. The friendlyName property - * @return Json|null - */ - public function getFriendlyName(): ?Json { - $val = $this->getBackingStore()->get('friendlyName'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'friendlyName'"); - } - - /** - * Gets the linkLocation property value. The linkLocation property - * @return Json|null - */ - public function getLinkLocation(): ?Json { - $val = $this->getBackingStore()->get('linkLocation'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'linkLocation'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('friendlyName', $this->getFriendlyName()); - $writer->writeObjectValue('linkLocation', $this->getLinkLocation()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the friendlyName property value. The friendlyName property - * @param Json|null $value Value to set for the friendlyName property. - */ - public function setFriendlyName(?Json $value): void { - $this->getBackingStore()->set('friendlyName', $value); - } - - /** - * Sets the linkLocation property value. The linkLocation property - * @param Json|null $value Value to set for the linkLocation property. - */ - public function setLinkLocation(?Json $value): void { - $this->getBackingStore()->set('linkLocation', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php index 9972df0b426..9b1d4ed0da5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImAbs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php index 6fcf14f1543..0254dc6533c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImArgument; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php index ee6dc161623..fb08c8dd0a9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImConjugate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php index 6e6199e02b1..149c472dc93 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImCos; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php index beafdccc8f3..ec88ba0d5d0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImCosh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php index e5f1bc2c097..c589b295a3e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImCot; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php index a79175e1296..647d619347b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImCsc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php index f1ab7b8e259..3ff7fe60397 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImCsch; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php index 33bd35182f3..e29c67c59ee 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImDiv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber1' => fn(ParseNode $n) => $o->setInumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'inumber2' => fn(ParseNode $n) => $o->setInumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber1 property value. The inumber1 property - * @return Json|null - */ - public function getInumber1(): ?Json { - $val = $this->getBackingStore()->get('inumber1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber1'"); - } - - /** - * Gets the inumber2 property value. The inumber2 property - * @return Json|null - */ - public function getInumber2(): ?Json { - $val = $this->getBackingStore()->get('inumber2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber1', $this->getInumber1()); - $writer->writeObjectValue('inumber2', $this->getInumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber1 property value. The inumber1 property - * @param Json|null $value Value to set for the inumber1 property. - */ - public function setInumber1(?Json $value): void { - $this->getBackingStore()->set('inumber1', $value); - } - - /** - * Sets the inumber2 property value. The inumber2 property - * @param Json|null $value Value to set for the inumber2 property. - */ - public function setInumber2(?Json $value): void { - $this->getBackingStore()->set('inumber2', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php index 251b340a6e2..d8884114c42 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImExp; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php index 65f866f3361..08534f2d146 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImLn; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php index d6f26ae1710..a747573de8f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImLog10; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php index dad5aad9a7c..27760a94a7f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImLog2; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php index 23006d8cfe3..224201a21f9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImPower; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php index 2bc3ba292c9..8a863773e05 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImProduct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php index c3bafb0c6b8..bb60dd67ef6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImReal; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php index f90da8a3c9a..4a68afe7170 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImSec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php index 60d950a6f01..6f2decf81f7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImSech; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php index 69cf28ee10f..fdde75237cb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImSin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php index 504e213970e..1b94be4d974 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImSinh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php index fb7b6d85c1f..d364fded2cf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImSqrt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php index e37b48f02fb..699831c6348 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImSub; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber1' => fn(ParseNode $n) => $o->setInumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'inumber2' => fn(ParseNode $n) => $o->setInumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber1 property value. The inumber1 property - * @return Json|null - */ - public function getInumber1(): ?Json { - $val = $this->getBackingStore()->get('inumber1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber1'"); - } - - /** - * Gets the inumber2 property value. The inumber2 property - * @return Json|null - */ - public function getInumber2(): ?Json { - $val = $this->getBackingStore()->get('inumber2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber1', $this->getInumber1()); - $writer->writeObjectValue('inumber2', $this->getInumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber1 property value. The inumber1 property - * @param Json|null $value Value to set for the inumber1 property. - */ - public function setInumber1(?Json $value): void { - $this->getBackingStore()->set('inumber1', $value); - } - - /** - * Sets the inumber2 property value. The inumber2 property - * @param Json|null $value Value to set for the inumber2 property. - */ - public function setInumber2(?Json $value): void { - $this->getBackingStore()->set('inumber2', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php index 978596a5ead..0612e16e42c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImSum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php index d6ea4d5adfb..af3ce6b5a3b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ImTan; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php index db453ed1620..f4af63fea96 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Imaginary; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php index b6b622823db..46265604a35 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Int; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php index 096b5854f9f..5a3339c09fd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IntRate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'investment' => fn(ParseNode $n) => $o->setInvestment($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the investment property value. The investment property - * @return Json|null - */ - public function getInvestment(): ?Json { - $val = $this->getBackingStore()->get('investment'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'investment'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('investment', $this->getInvestment()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the investment property value. The investment property - * @param Json|null $value Value to set for the investment property. - */ - public function setInvestment(?Json $value): void { - $this->getBackingStore()->set('investment', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php index e0d1e07bf9b..8d14ecdddb5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Ipmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,98 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'per' => fn(ParseNode $n) => $o->setPer($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the per property value. The per property - * @return Json|null - */ - public function getPer(): ?Json { - $val = $this->getBackingStore()->get('per'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'per'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('per', $this->getPer()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the per property value. The per property - * @param Json|null $value Value to set for the per property. - */ - public function setPer(?Json $value): void { - $this->getBackingStore()->set('per', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php index 6a9259c41b2..fff8aeeedf9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Irr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'guess' => fn(ParseNode $n) => $o->setGuess($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the guess property value. The guess property - * @return Json|null - */ - public function getGuess(): ?Json { - $val = $this->getBackingStore()->get('guess'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'guess'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('guess', $this->getGuess()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the guess property value. The guess property - * @param Json|null $value Value to set for the guess property. - */ - public function setGuess(?Json $value): void { - $this->getBackingStore()->set('guess', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php index 60aabaebeb4..29ddf13d3bb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsErr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php index 1617c9d989e..cbf5e37f761 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsError; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php index 8adecb9dcbb..7171645aa17 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsEven; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php index 2d45651ade4..7a9934980cd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsFormula; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php index ab1992b3057..9acae13169a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsLogical; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php index 7b65e1b7d9d..b7c27516d44 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsNA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php index 9f278933f66..9b7987dd857 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsNonText; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php index 4731a5b627b..4db1fbd0ddd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsNumber; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php index 3f3bd25aa29..4817d920f6d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsOdd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php index dde76be5a41..4816c8644bb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsText; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php index e5c63c3f4ef..0a35ee608e9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\IsoWeekNum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the date property value. The date property - * @return Json|null - */ - public function getDate(): ?Json { - $val = $this->getBackingStore()->get('date'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'date'"); - } - /** * The deserialization information for the current model * @return array @@ -75,7 +62,6 @@ public function getDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'date' => fn(ParseNode $n) => $o->setDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('date', $this->getDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the date property value. The date property - * @param Json|null $value Value to set for the date property. - */ - public function setDate(?Json $value): void { - $this->getBackingStore()->set('date', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php index b7e48d89707..3a515b39099 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Iso_Ceiling; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php index 2573c602a24..283b55690c3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Ispmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'per' => fn(ParseNode $n) => $o->setPer($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the per property value. The per property - * @return Json|null - */ - public function getPer(): ?Json { - $val = $this->getBackingStore()->get('per'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'per'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('per', $this->getPer()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the per property value. The per property - * @param Json|null $value Value to set for the per property. - */ - public function setPer(?Json $value): void { - $this->getBackingStore()->set('per', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php index 9b265431116..1ead0d9cc09 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Isref; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php index 3fb37e338be..8620075fdcb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Kurt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php index b3fdf848c5c..01b9e56c3d2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Large; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'k' => fn(ParseNode $n) => $o->setK($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the k property value. The k property - * @return Json|null - */ - public function getK(): ?Json { - $val = $this->getBackingStore()->get('k'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'k'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('k', $this->getK()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the k property value. The k property - * @param Json|null $value Value to set for the k property. - */ - public function setK(?Json $value): void { - $this->getBackingStore()->set('k', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php index 587af6a8fd8..0ab57d5cce3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Lcm; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php index 691e280df2f..6090ae8663b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Left; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numChars' => fn(ParseNode $n) => $o->setNumChars($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numChars property value. The numChars property - * @return Json|null - */ - public function getNumChars(): ?Json { - $val = $this->getBackingStore()->get('numChars'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numChars'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numChars', $this->getNumChars()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numChars property value. The numChars property - * @param Json|null $value Value to set for the numChars property. - */ - public function setNumChars(?Json $value): void { - $this->getBackingStore()->set('numChars', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php index 196bc362c36..a1909d5cad1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Leftb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numBytes' => fn(ParseNode $n) => $o->setNumBytes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numBytes property value. The numBytes property - * @return Json|null - */ - public function getNumBytes(): ?Json { - $val = $this->getBackingStore()->get('numBytes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numBytes'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numBytes', $this->getNumBytes()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numBytes property value. The numBytes property - * @param Json|null $value Value to set for the numBytes property. - */ - public function setNumBytes(?Json $value): void { - $this->getBackingStore()->set('numBytes', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php index 9b8f32d3631..bdc7dfbabf0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Len; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php index 5e4bcf71ac2..5ad4be4db59 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Lenb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php index 30b003e680f..cc2e8e159c4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Ln; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php index 7f481fc0b4a..27dacbbef86 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Log; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the base property value. The base property - * @return Json|null - */ - public function getBase(): ?Json { - $val = $this->getBackingStore()->get('base'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'base'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getBase(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'base' => fn(ParseNode $n) => $o->setBase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('base', $this->getBase()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the base property value. The base property - * @param Json|null $value Value to set for the base property. - */ - public function setBase(?Json $value): void { - $this->getBackingStore()->set('base', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php index 8dc2571d171..2305f97b0b2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Log10; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php index f25a109e28b..752c642ffc4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\LogNorm_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php index 37c3b328963..1caafa62f79 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\LogNorm_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('probability', $this->getProbability()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php index 98206f498ed..367c005e374 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Lookup; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'lookupValue' => fn(ParseNode $n) => $o->setLookupValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lookupVector' => fn(ParseNode $n) => $o->setLookupVector($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'resultVector' => fn(ParseNode $n) => $o->setResultVector($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lookupValue property value. The lookupValue property - * @return Json|null - */ - public function getLookupValue(): ?Json { - $val = $this->getBackingStore()->get('lookupValue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupValue'"); - } - - /** - * Gets the lookupVector property value. The lookupVector property - * @return Json|null - */ - public function getLookupVector(): ?Json { - $val = $this->getBackingStore()->get('lookupVector'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupVector'"); - } - - /** - * Gets the resultVector property value. The resultVector property - * @return Json|null - */ - public function getResultVector(): ?Json { - $val = $this->getBackingStore()->get('resultVector'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'resultVector'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('lookupValue', $this->getLookupValue()); - $writer->writeObjectValue('lookupVector', $this->getLookupVector()); - $writer->writeObjectValue('resultVector', $this->getResultVector()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the lookupValue property value. The lookupValue property - * @param Json|null $value Value to set for the lookupValue property. - */ - public function setLookupValue(?Json $value): void { - $this->getBackingStore()->set('lookupValue', $value); - } - - /** - * Sets the lookupVector property value. The lookupVector property - * @param Json|null $value Value to set for the lookupVector property. - */ - public function setLookupVector(?Json $value): void { - $this->getBackingStore()->set('lookupVector', $value); - } - - /** - * Sets the resultVector property value. The resultVector property - * @param Json|null $value Value to set for the resultVector property. - */ - public function setResultVector(?Json $value): void { - $this->getBackingStore()->set('resultVector', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php index fc7a223a086..d7d0f89f2e9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Lower; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php index 2619a09d9f8..e7ea5de36b0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Match; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'lookupArray' => fn(ParseNode $n) => $o->setLookupArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lookupValue' => fn(ParseNode $n) => $o->setLookupValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'matchType' => fn(ParseNode $n) => $o->setMatchType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lookupArray property value. The lookupArray property - * @return Json|null - */ - public function getLookupArray(): ?Json { - $val = $this->getBackingStore()->get('lookupArray'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupArray'"); - } - - /** - * Gets the lookupValue property value. The lookupValue property - * @return Json|null - */ - public function getLookupValue(): ?Json { - $val = $this->getBackingStore()->get('lookupValue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupValue'"); - } - - /** - * Gets the matchType property value. The matchType property - * @return Json|null - */ - public function getMatchType(): ?Json { - $val = $this->getBackingStore()->get('matchType'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'matchType'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('lookupArray', $this->getLookupArray()); - $writer->writeObjectValue('lookupValue', $this->getLookupValue()); - $writer->writeObjectValue('matchType', $this->getMatchType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the lookupArray property value. The lookupArray property - * @param Json|null $value Value to set for the lookupArray property. - */ - public function setLookupArray(?Json $value): void { - $this->getBackingStore()->set('lookupArray', $value); - } - - /** - * Sets the lookupValue property value. The lookupValue property - * @param Json|null $value Value to set for the lookupValue property. - */ - public function setLookupValue(?Json $value): void { - $this->getBackingStore()->set('lookupValue', $value); - } - - /** - * Sets the matchType property value. The matchType property - * @param Json|null $value Value to set for the matchType property. - */ - public function setMatchType(?Json $value): void { - $this->getBackingStore()->set('matchType', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php index 5193af695c5..17d1121b5f6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Max; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php index d4aab5f28ac..43aab0003ea 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\MaxA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php index 506605e8a24..7139344d948 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Mduration; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the coupon property value. The coupon property - * @return Json|null - */ - public function getCoupon(): ?Json { - $val = $this->getBackingStore()->get('coupon'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'coupon'"); - } - /** * The deserialization information for the current model * @return array @@ -87,74 +62,14 @@ public function getCoupon(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'coupon' => fn(ParseNode $n) => $o->setCoupon($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('coupon', $this->getCoupon()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the coupon property value. The coupon property - * @param Json|null $value Value to set for the coupon property. - */ - public function setCoupon(?Json $value): void { - $this->getBackingStore()->set('coupon', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php index d377cc9804e..6f8c144c308 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Median; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php index c98f1deec91..48eb69ace87 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Mid; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numChars' => fn(ParseNode $n) => $o->setNumChars($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numChars property value. The numChars property - * @return Json|null - */ - public function getNumChars(): ?Json { - $val = $this->getBackingStore()->get('numChars'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numChars'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numChars', $this->getNumChars()); - $writer->writeObjectValue('startNum', $this->getStartNum()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numChars property value. The numChars property - * @param Json|null $value Value to set for the numChars property. - */ - public function setNumChars(?Json $value): void { - $this->getBackingStore()->set('numChars', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php index ce4588dd7a4..e083e472bf2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Midb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numBytes' => fn(ParseNode $n) => $o->setNumBytes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numBytes property value. The numBytes property - * @return Json|null - */ - public function getNumBytes(): ?Json { - $val = $this->getBackingStore()->get('numBytes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numBytes'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numBytes', $this->getNumBytes()); - $writer->writeObjectValue('startNum', $this->getStartNum()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numBytes property value. The numBytes property - * @param Json|null $value Value to set for the numBytes property. - */ - public function setNumBytes(?Json $value): void { - $this->getBackingStore()->set('numBytes', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php index 17079ac6368..76ae8524f42 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Min; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php index 18e0b66062d..2c01940a488 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\MinA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php index 7e7681683c4..f681a85fce4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Minute; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php index f11aa5412af..0e34872fa93 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Mirr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'financeRate' => fn(ParseNode $n) => $o->setFinanceRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'reinvestRate' => fn(ParseNode $n) => $o->setReinvestRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the financeRate property value. The financeRate property - * @return Json|null - */ - public function getFinanceRate(): ?Json { - $val = $this->getBackingStore()->get('financeRate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'financeRate'"); - } - - /** - * Gets the reinvestRate property value. The reinvestRate property - * @return Json|null - */ - public function getReinvestRate(): ?Json { - $val = $this->getBackingStore()->get('reinvestRate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reinvestRate'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('financeRate', $this->getFinanceRate()); - $writer->writeObjectValue('reinvestRate', $this->getReinvestRate()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the financeRate property value. The financeRate property - * @param Json|null $value Value to set for the financeRate property. - */ - public function setFinanceRate(?Json $value): void { - $this->getBackingStore()->set('financeRate', $value); - } - - /** - * Sets the reinvestRate property value. The reinvestRate property - * @param Json|null $value Value to set for the reinvestRate property. - */ - public function setReinvestRate(?Json $value): void { - $this->getBackingStore()->set('reinvestRate', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php index 8d732a940b7..25e3c2e4b08 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Mod; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the divisor property value. The divisor property - * @return Json|null - */ - public function getDivisor(): ?Json { - $val = $this->getBackingStore()->get('divisor'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'divisor'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDivisor(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'divisor' => fn(ParseNode $n) => $o->setDivisor($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('divisor', $this->getDivisor()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the divisor property value. The divisor property - * @param Json|null $value Value to set for the divisor property. - */ - public function setDivisor(?Json $value): void { - $this->getBackingStore()->set('divisor', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php index ba298298681..fe7d1c05e4a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Month; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php index 44927364e32..ce440380472 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Mround; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'multiple' => fn(ParseNode $n) => $o->setMultiple($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the multiple property value. The multiple property - * @return Json|null - */ - public function getMultiple(): ?Json { - $val = $this->getBackingStore()->get('multiple'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'multiple'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('multiple', $this->getMultiple()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the multiple property value. The multiple property - * @param Json|null $value Value to set for the multiple property. - */ - public function setMultiple(?Json $value): void { - $this->getBackingStore()->set('multiple', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php index 7d8cda29ba9..b37276b7b18 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\MultiNomial; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NPostRequestBody.php index 0dbc978e690..96624053ccf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\N; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php index 6a69f11c72f..3fffa04f1fa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\NegBinom_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberF' => fn(ParseNode $n) => $o->setNumberF($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberS' => fn(ParseNode $n) => $o->setNumberS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probabilityS' => fn(ParseNode $n) => $o->setProbabilityS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberF property value. The numberF property - * @return Json|null - */ - public function getNumberF(): ?Json { - $val = $this->getBackingStore()->get('numberF'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberF'"); - } - - /** - * Gets the numberS property value. The numberS property - * @return Json|null - */ - public function getNumberS(): ?Json { - $val = $this->getBackingStore()->get('numberS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberS'"); - } - - /** - * Gets the probabilityS property value. The probabilityS property - * @return Json|null - */ - public function getProbabilityS(): ?Json { - $val = $this->getBackingStore()->get('probabilityS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probabilityS'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('numberF', $this->getNumberF()); - $writer->writeObjectValue('numberS', $this->getNumberS()); - $writer->writeObjectValue('probabilityS', $this->getProbabilityS()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the numberF property value. The numberF property - * @param Json|null $value Value to set for the numberF property. - */ - public function setNumberF(?Json $value): void { - $this->getBackingStore()->set('numberF', $value); - } - - /** - * Sets the numberS property value. The numberS property - * @param Json|null $value Value to set for the numberS property. - */ - public function setNumberS(?Json $value): void { - $this->getBackingStore()->set('numberS', $value); - } - - /** - * Sets the probabilityS property value. The probabilityS property - * @param Json|null $value Value to set for the probabilityS property. - */ - public function setProbabilityS(?Json $value): void { - $this->getBackingStore()->set('probabilityS', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php index 2a80a5a3319..9770e8c5c54 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\NetworkDays; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'holidays' => fn(ParseNode $n) => $o->setHolidays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the holidays property value. The holidays property - * @return Json|null - */ - public function getHolidays(): ?Json { - $val = $this->getBackingStore()->get('holidays'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'holidays'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('holidays', $this->getHolidays()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the holidays property value. The holidays property - * @param Json|null $value Value to set for the holidays property. - */ - public function setHolidays(?Json $value): void { - $this->getBackingStore()->set('holidays', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php index 25a7a5824ae..817160d1cb3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\NetworkDays_Intl; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'holidays' => fn(ParseNode $n) => $o->setHolidays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'weekend' => fn(ParseNode $n) => $o->setWeekend($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the holidays property value. The holidays property - * @return Json|null - */ - public function getHolidays(): ?Json { - $val = $this->getBackingStore()->get('holidays'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'holidays'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - - /** - * Gets the weekend property value. The weekend property - * @return Json|null - */ - public function getWeekend(): ?Json { - $val = $this->getBackingStore()->get('weekend'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'weekend'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('holidays', $this->getHolidays()); - $writer->writeObjectValue('startDate', $this->getStartDate()); - $writer->writeObjectValue('weekend', $this->getWeekend()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the holidays property value. The holidays property - * @param Json|null $value Value to set for the holidays property. - */ - public function setHolidays(?Json $value): void { - $this->getBackingStore()->set('holidays', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - - /** - * Sets the weekend property value. The weekend property - * @param Json|null $value Value to set for the weekend property. - */ - public function setWeekend(?Json $value): void { - $this->getBackingStore()->set('weekend', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php index 75a71122690..aa393ea5180 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Nominal; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the effectRate property value. The effectRate property - * @return Json|null - */ - public function getEffectRate(): ?Json { - $val = $this->getBackingStore()->get('effectRate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'effectRate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEffectRate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'effectRate' => fn(ParseNode $n) => $o->setEffectRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'npery' => fn(ParseNode $n) => $o->setNpery($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the npery property value. The npery property - * @return Json|null - */ - public function getNpery(): ?Json { - $val = $this->getBackingStore()->get('npery'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'npery'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('effectRate', $this->getEffectRate()); - $writer->writeObjectValue('npery', $this->getNpery()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the effectRate property value. The effectRate property - * @param Json|null $value Value to set for the effectRate property. - */ - public function setEffectRate(?Json $value): void { - $this->getBackingStore()->set('effectRate', $value); - } - - /** - * Sets the npery property value. The npery property - * @param Json|null $value Value to set for the npery property. - */ - public function setNpery(?Json $value): void { - $this->getBackingStore()->set('npery', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php index eb2efdef7b1..5e331e6bff3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Norm_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php index 176aabee045..7f01557c5ae 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Norm_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('probability', $this->getProbability()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php index 80e667ac77b..6b4ddc54b93 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Norm_S_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'z' => fn(ParseNode $n) => $o->setZ($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the z property value. The z property - * @return Json|null - */ - public function getZ(): ?Json { - $val = $this->getBackingStore()->get('z'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'z'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('z', $this->getZ()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the z property value. The z property - * @param Json|null $value Value to set for the z property. - */ - public function setZ(?Json $value): void { - $this->getBackingStore()->set('z', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php index 460312ea385..e112f26aa73 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Norm_S_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php index b7b193246ba..f23d009bc4d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Not; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'logical' => fn(ParseNode $n) => $o->setLogical($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the logical property value. The logical property - * @return Json|null - */ - public function getLogical(): ?Json { - $val = $this->getBackingStore()->get('logical'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'logical'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('logical', $this->getLogical()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the logical property value. The logical property - * @param Json|null $value Value to set for the logical property. - */ - public function setLogical(?Json $value): void { - $this->getBackingStore()->set('logical', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php index 049a541e78b..9c146ab630e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Nper; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,84 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pmt' => fn(ParseNode $n) => $o->setPmt($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the pmt property value. The pmt property - * @return Json|null - */ - public function getPmt(): ?Json { - $val = $this->getBackingStore()->get('pmt'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pmt'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('pmt', $this->getPmt()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the pmt property value. The pmt property - * @param Json|null $value Value to set for the pmt property. - */ - public function setPmt(?Json $value): void { - $this->getBackingStore()->set('pmt', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php index 444a9d9c66c..f0d4c923c40 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Npv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php index d9b2f7066bf..74b3f788cef 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\NumberValue; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimalSeparator property value. The decimalSeparator property - * @return Json|null - */ - public function getDecimalSeparator(): ?Json { - $val = $this->getBackingStore()->get('decimalSeparator'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimalSeparator'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDecimalSeparator(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimalSeparator' => fn(ParseNode $n) => $o->setDecimalSeparator($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'groupSeparator' => fn(ParseNode $n) => $o->setGroupSeparator($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the groupSeparator property value. The groupSeparator property - * @return Json|null - */ - public function getGroupSeparator(): ?Json { - $val = $this->getBackingStore()->get('groupSeparator'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'groupSeparator'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimalSeparator', $this->getDecimalSeparator()); - $writer->writeObjectValue('groupSeparator', $this->getGroupSeparator()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimalSeparator property value. The decimalSeparator property - * @param Json|null $value Value to set for the decimalSeparator property. - */ - public function setDecimalSeparator(?Json $value): void { - $this->getBackingStore()->set('decimalSeparator', $value); - } - - /** - * Sets the groupSeparator property value. The groupSeparator property - * @param Json|null $value Value to set for the groupSeparator property. - */ - public function setGroupSeparator(?Json $value): void { - $this->getBackingStore()->set('groupSeparator', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php index 592620e33f5..4f62c0162d1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Oct2Bin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php index 55a956ca907..228387cbaef 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Oct2Dec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php index b24bc3e0f6a..9bb167c172f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Oct2Hex; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php index bd3c785ce2f..fdb04a1c2a5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Odd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php index ded700b0f58..b1dc59099ae 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\OddFPrice; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,128 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstCoupon' => fn(ParseNode $n) => $o->setFirstCoupon($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstCoupon property value. The firstCoupon property - * @return Json|null - */ - public function getFirstCoupon(): ?Json { - $val = $this->getBackingStore()->get('firstCoupon'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstCoupon'"); - } - - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('firstCoupon', $this->getFirstCoupon()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -216,76 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the firstCoupon property value. The firstCoupon property - * @param Json|null $value Value to set for the firstCoupon property. - */ - public function setFirstCoupon(?Json $value): void { - $this->getBackingStore()->set('firstCoupon', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php index 67f3100a55b..9634e0c8a5d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\OddFYield; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,128 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstCoupon' => fn(ParseNode $n) => $o->setFirstCoupon($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstCoupon property value. The firstCoupon property - * @return Json|null - */ - public function getFirstCoupon(): ?Json { - $val = $this->getBackingStore()->get('firstCoupon'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstCoupon'"); - } - - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('firstCoupon', $this->getFirstCoupon()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -216,76 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the firstCoupon property value. The firstCoupon property - * @param Json|null $value Value to set for the firstCoupon property. - */ - public function setFirstCoupon(?Json $value): void { - $this->getBackingStore()->set('firstCoupon', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php index 4018cec438a..2e436503e77 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\OddLPrice; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,114 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lastInterest' => fn(ParseNode $n) => $o->setLastInterest($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the lastInterest property value. The lastInterest property - * @return Json|null - */ - public function getLastInterest(): ?Json { - $val = $this->getBackingStore()->get('lastInterest'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lastInterest'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('lastInterest', $this->getLastInterest()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -202,68 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the lastInterest property value. The lastInterest property - * @param Json|null $value Value to set for the lastInterest property. - */ - public function setLastInterest(?Json $value): void { - $this->getBackingStore()->set('lastInterest', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php index 87703b4ae86..846941fc04f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\OddLYield; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,114 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lastInterest' => fn(ParseNode $n) => $o->setLastInterest($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the lastInterest property value. The lastInterest property - * @return Json|null - */ - public function getLastInterest(): ?Json { - $val = $this->getBackingStore()->get('lastInterest'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lastInterest'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('lastInterest', $this->getLastInterest()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -202,68 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the lastInterest property value. The lastInterest property - * @param Json|null $value Value to set for the lastInterest property. - */ - public function setLastInterest(?Json $value): void { - $this->getBackingStore()->set('lastInterest', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php index 97bc54914e6..5813b8eb66d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Pduration; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php index 80cc01db8e5..6fea803899e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\PercentRank_Exc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('significance', $this->getSignificance()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php index 0bb89a4f848..fa0ef11c24f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\PercentRank_Inc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('significance', $this->getSignificance()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php index 5337d13e52f..e1540bbacce 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Percentile_Exc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'k' => fn(ParseNode $n) => $o->setK($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the k property value. The k property - * @return Json|null - */ - public function getK(): ?Json { - $val = $this->getBackingStore()->get('k'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'k'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('k', $this->getK()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the k property value. The k property - * @param Json|null $value Value to set for the k property. - */ - public function setK(?Json $value): void { - $this->getBackingStore()->set('k', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php index 8f01219a4be..084ab42732f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Percentile_Inc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'k' => fn(ParseNode $n) => $o->setK($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the k property value. The k property - * @return Json|null - */ - public function getK(): ?Json { - $val = $this->getBackingStore()->get('k'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'k'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('k', $this->getK()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the k property value. The k property - * @param Json|null $value Value to set for the k property. - */ - public function setK(?Json $value): void { - $this->getBackingStore()->set('k', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php index 67e752aa894..a1b8806021f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Permut; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberChosen' => fn(ParseNode $n) => $o->setNumberChosen($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numberChosen property value. The numberChosen property - * @return Json|null - */ - public function getNumberChosen(): ?Json { - $val = $this->getBackingStore()->get('numberChosen'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberChosen'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numberChosen', $this->getNumberChosen()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numberChosen property value. The numberChosen property - * @param Json|null $value Value to set for the numberChosen property. - */ - public function setNumberChosen(?Json $value): void { - $this->getBackingStore()->set('numberChosen', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php index 8ac19ea5a3c..f587c419301 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Permutationa; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberChosen' => fn(ParseNode $n) => $o->setNumberChosen($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numberChosen property value. The numberChosen property - * @return Json|null - */ - public function getNumberChosen(): ?Json { - $val = $this->getBackingStore()->get('numberChosen'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberChosen'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numberChosen', $this->getNumberChosen()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numberChosen property value. The numberChosen property - * @param Json|null $value Value to set for the numberChosen property. - */ - public function setNumberChosen(?Json $value): void { - $this->getBackingStore()->set('numberChosen', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php index ee56c8a5981..b5f948e8f5b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Phi; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php index fff1592fe06..b634c8fdce5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Pmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,84 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php index 22abcd2fdcf..e8845d8abec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Poisson_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php index 6c7e0189521..369f73b51ed 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Power; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'power' => fn(ParseNode $n) => $o->setPower($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the power property value. The power property - * @return Json|null - */ - public function getPower(): ?Json { - $val = $this->getBackingStore()->get('power'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'power'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('power', $this->getPower()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the power property value. The power property - * @param Json|null $value Value to set for the power property. - */ - public function setPower(?Json $value): void { - $this->getBackingStore()->set('power', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php index abe03e21d5a..761ca867851 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Ppmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,98 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'per' => fn(ParseNode $n) => $o->setPer($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the per property value. The per property - * @return Json|null - */ - public function getPer(): ?Json { - $val = $this->getBackingStore()->get('per'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'per'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('per', $this->getPer()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the per property value. The per property - * @param Json|null $value Value to set for the per property. - */ - public function setPer(?Json $value): void { - $this->getBackingStore()->set('per', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php index 3961caefe67..3c979508c60 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Price; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,100 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php index 019e2c3fd92..2ee6253a2f5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\PriceDisc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the discount property value. The discount property - * @return Json|null - */ - public function getDiscount(): ?Json { - $val = $this->getBackingStore()->get('discount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'discount'"); - } - /** * The deserialization information for the current model * @return array @@ -87,60 +62,14 @@ public function getDiscount(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'discount' => fn(ParseNode $n) => $o->setDiscount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('discount', $this->getDiscount()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the discount property value. The discount property - * @param Json|null $value Value to set for the discount property. - */ - public function setDiscount(?Json $value): void { - $this->getBackingStore()->set('discount', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php index 11ee83a72b8..dcc050c8ad1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\PriceMat; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,86 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php index 0131a08b624..929ad15a12f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Product; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php index ca242763abd..6270922e2a9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Proper; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php index eb3baad6111..2a9ded70446 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Pv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,84 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pmt' => fn(ParseNode $n) => $o->setPmt($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pmt property value. The pmt property - * @return Json|null - */ - public function getPmt(): ?Json { - $val = $this->getBackingStore()->get('pmt'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pmt'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pmt', $this->getPmt()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pmt property value. The pmt property - * @param Json|null $value Value to set for the pmt property. - */ - public function setPmt(?Json $value): void { - $this->getBackingStore()->set('pmt', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php index 1c9f74da4d9..b3d429ec0cc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Quartile_Exc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'quart' => fn(ParseNode $n) => $o->setQuart($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the quart property value. The quart property - * @return Json|null - */ - public function getQuart(): ?Json { - $val = $this->getBackingStore()->get('quart'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'quart'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('quart', $this->getQuart()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the quart property value. The quart property - * @param Json|null $value Value to set for the quart property. - */ - public function setQuart(?Json $value): void { - $this->getBackingStore()->set('quart', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php index 05c16293157..c8aa2fd5b7e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Quartile_Inc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'quart' => fn(ParseNode $n) => $o->setQuart($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the quart property value. The quart property - * @return Json|null - */ - public function getQuart(): ?Json { - $val = $this->getBackingStore()->get('quart'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'quart'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('quart', $this->getQuart()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the quart property value. The quart property - * @param Json|null $value Value to set for the quart property. - */ - public function setQuart(?Json $value): void { - $this->getBackingStore()->set('quart', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php index 7943733ddcc..8352a08cfc7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Quotient; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the denominator property value. The denominator property - * @return Json|null - */ - public function getDenominator(): ?Json { - $val = $this->getBackingStore()->get('denominator'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'denominator'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDenominator(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'denominator' => fn(ParseNode $n) => $o->setDenominator($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numerator' => fn(ParseNode $n) => $o->setNumerator($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numerator property value. The numerator property - * @return Json|null - */ - public function getNumerator(): ?Json { - $val = $this->getBackingStore()->get('numerator'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numerator'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('denominator', $this->getDenominator()); - $writer->writeObjectValue('numerator', $this->getNumerator()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the denominator property value. The denominator property - * @param Json|null $value Value to set for the denominator property. - */ - public function setDenominator(?Json $value): void { - $this->getBackingStore()->set('denominator', $value); - } - - /** - * Sets the numerator property value. The numerator property - * @param Json|null $value Value to set for the numerator property. - */ - public function setNumerator(?Json $value): void { - $this->getBackingStore()->set('numerator', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php index 3fee2fccfcd..a217398bb42 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Radians; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the angle property value. The angle property - * @return Json|null - */ - public function getAngle(): ?Json { - $val = $this->getBackingStore()->get('angle'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'angle'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,7 +62,6 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'angle' => fn(ParseNode $n) => $o->setAngle($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('angle', $this->getAngle()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -96,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the angle property value. The angle property - * @param Json|null $value Value to set for the angle property. - */ - public function setAngle(?Json $value): void { - $this->getBackingStore()->set('angle', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php index 8f8b997df68..e556ec796f5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\RandBetween; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the bottom property value. The bottom property - * @return Json|null - */ - public function getBottom(): ?Json { - $val = $this->getBackingStore()->get('bottom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'bottom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getBottom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'bottom' => fn(ParseNode $n) => $o->setBottom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'top' => fn(ParseNode $n) => $o->setTop($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the top property value. The top property - * @return Json|null - */ - public function getTop(): ?Json { - $val = $this->getBackingStore()->get('top'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'top'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('bottom', $this->getBottom()); - $writer->writeObjectValue('top', $this->getTop()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the bottom property value. The bottom property - * @param Json|null $value Value to set for the bottom property. - */ - public function setBottom(?Json $value): void { - $this->getBackingStore()->set('bottom', $value); - } - - /** - * Sets the top property value. The top property - * @param Json|null $value Value to set for the top property. - */ - public function setTop(?Json $value): void { - $this->getBackingStore()->set('top', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php index 1097c60fc81..7c0dfcbf591 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Rank_Avg; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'order' => fn(ParseNode $n) => $o->setOrder($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'ref' => fn(ParseNode $n) => $o->setRef($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the order property value. The order property - * @return Json|null - */ - public function getOrder(): ?Json { - $val = $this->getBackingStore()->get('order'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'order'"); - } - - /** - * Gets the ref property value. The ref property - * @return Json|null - */ - public function getRef(): ?Json { - $val = $this->getBackingStore()->get('ref'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'ref'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('order', $this->getOrder()); - $writer->writeObjectValue('ref', $this->getRef()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the order property value. The order property - * @param Json|null $value Value to set for the order property. - */ - public function setOrder(?Json $value): void { - $this->getBackingStore()->set('order', $value); - } - - /** - * Sets the ref property value. The ref property - * @param Json|null $value Value to set for the ref property. - */ - public function setRef(?Json $value): void { - $this->getBackingStore()->set('ref', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php index 52a2d4e3d96..b8cd5fa6b87 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Rank_Eq; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'order' => fn(ParseNode $n) => $o->setOrder($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'ref' => fn(ParseNode $n) => $o->setRef($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the order property value. The order property - * @return Json|null - */ - public function getOrder(): ?Json { - $val = $this->getBackingStore()->get('order'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'order'"); - } - - /** - * Gets the ref property value. The ref property - * @return Json|null - */ - public function getRef(): ?Json { - $val = $this->getBackingStore()->get('ref'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'ref'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('order', $this->getOrder()); - $writer->writeObjectValue('ref', $this->getRef()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the order property value. The order property - * @param Json|null $value Value to set for the order property. - */ - public function setOrder(?Json $value): void { - $this->getBackingStore()->set('order', $value); - } - - /** - * Sets the ref property value. The ref property - * @param Json|null $value Value to set for the ref property. - */ - public function setRef(?Json $value): void { - $this->getBackingStore()->set('ref', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php index 3b681baba70..574e8cbdc6e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Rate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,98 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'guess' => fn(ParseNode $n) => $o->setGuess($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pmt' => fn(ParseNode $n) => $o->setPmt($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the guess property value. The guess property - * @return Json|null - */ - public function getGuess(): ?Json { - $val = $this->getBackingStore()->get('guess'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'guess'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pmt property value. The pmt property - * @return Json|null - */ - public function getPmt(): ?Json { - $val = $this->getBackingStore()->get('pmt'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pmt'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('guess', $this->getGuess()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pmt', $this->getPmt()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the guess property value. The guess property - * @param Json|null $value Value to set for the guess property. - */ - public function setGuess(?Json $value): void { - $this->getBackingStore()->set('guess', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pmt property value. The pmt property - * @param Json|null $value Value to set for the pmt property. - */ - public function setPmt(?Json $value): void { - $this->getBackingStore()->set('pmt', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php index a26fad1a7a1..dd5b29c6b0a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Received; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the discount property value. The discount property - * @return Json|null - */ - public function getDiscount(): ?Json { - $val = $this->getBackingStore()->get('discount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'discount'"); - } - /** * The deserialization information for the current model * @return array @@ -87,60 +62,14 @@ public function getDiscount(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'discount' => fn(ParseNode $n) => $o->setDiscount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'investment' => fn(ParseNode $n) => $o->setInvestment($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the investment property value. The investment property - * @return Json|null - */ - public function getInvestment(): ?Json { - $val = $this->getBackingStore()->get('investment'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'investment'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('discount', $this->getDiscount()); - $writer->writeObjectValue('investment', $this->getInvestment()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the discount property value. The discount property - * @param Json|null $value Value to set for the discount property. - */ - public function setDiscount(?Json $value): void { - $this->getBackingStore()->set('discount', $value); - } - - /** - * Sets the investment property value. The investment property - * @param Json|null $value Value to set for the investment property. - */ - public function setInvestment(?Json $value): void { - $this->getBackingStore()->set('investment', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php index 34c4a40b8ae..23a46498398 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Replace; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'newText' => fn(ParseNode $n) => $o->setNewText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numChars' => fn(ParseNode $n) => $o->setNumChars($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'oldText' => fn(ParseNode $n) => $o->setOldText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the newText property value. The newText property - * @return Json|null - */ - public function getNewText(): ?Json { - $val = $this->getBackingStore()->get('newText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'newText'"); - } - - /** - * Gets the numChars property value. The numChars property - * @return Json|null - */ - public function getNumChars(): ?Json { - $val = $this->getBackingStore()->get('numChars'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numChars'"); - } - - /** - * Gets the oldText property value. The oldText property - * @return Json|null - */ - public function getOldText(): ?Json { - $val = $this->getBackingStore()->get('oldText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'oldText'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('newText', $this->getNewText()); - $writer->writeObjectValue('numChars', $this->getNumChars()); - $writer->writeObjectValue('oldText', $this->getOldText()); - $writer->writeObjectValue('startNum', $this->getStartNum()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the newText property value. The newText property - * @param Json|null $value Value to set for the newText property. - */ - public function setNewText(?Json $value): void { - $this->getBackingStore()->set('newText', $value); - } - - /** - * Sets the numChars property value. The numChars property - * @param Json|null $value Value to set for the numChars property. - */ - public function setNumChars(?Json $value): void { - $this->getBackingStore()->set('numChars', $value); - } - - /** - * Sets the oldText property value. The oldText property - * @param Json|null $value Value to set for the oldText property. - */ - public function setOldText(?Json $value): void { - $this->getBackingStore()->set('oldText', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php index 1bba457b8fd..8ce4c685af0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\ReplaceB; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'newText' => fn(ParseNode $n) => $o->setNewText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numBytes' => fn(ParseNode $n) => $o->setNumBytes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'oldText' => fn(ParseNode $n) => $o->setOldText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the newText property value. The newText property - * @return Json|null - */ - public function getNewText(): ?Json { - $val = $this->getBackingStore()->get('newText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'newText'"); - } - - /** - * Gets the numBytes property value. The numBytes property - * @return Json|null - */ - public function getNumBytes(): ?Json { - $val = $this->getBackingStore()->get('numBytes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numBytes'"); - } - - /** - * Gets the oldText property value. The oldText property - * @return Json|null - */ - public function getOldText(): ?Json { - $val = $this->getBackingStore()->get('oldText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'oldText'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('newText', $this->getNewText()); - $writer->writeObjectValue('numBytes', $this->getNumBytes()); - $writer->writeObjectValue('oldText', $this->getOldText()); - $writer->writeObjectValue('startNum', $this->getStartNum()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the newText property value. The newText property - * @param Json|null $value Value to set for the newText property. - */ - public function setNewText(?Json $value): void { - $this->getBackingStore()->set('newText', $value); - } - - /** - * Sets the numBytes property value. The numBytes property - * @param Json|null $value Value to set for the numBytes property. - */ - public function setNumBytes(?Json $value): void { - $this->getBackingStore()->set('numBytes', $value); - } - - /** - * Sets the oldText property value. The oldText property - * @param Json|null $value Value to set for the oldText property. - */ - public function setOldText(?Json $value): void { - $this->getBackingStore()->set('oldText', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php index 8dd4e10d14a..ba81cf8eb13 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Rept; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numberTimes' => fn(ParseNode $n) => $o->setNumberTimes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberTimes property value. The numberTimes property - * @return Json|null - */ - public function getNumberTimes(): ?Json { - $val = $this->getBackingStore()->get('numberTimes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberTimes'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numberTimes', $this->getNumberTimes()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numberTimes property value. The numberTimes property - * @param Json|null $value Value to set for the numberTimes property. - */ - public function setNumberTimes(?Json $value): void { - $this->getBackingStore()->set('numberTimes', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php index bdb6e36ae12..fb8bbdf44b1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Right; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numChars' => fn(ParseNode $n) => $o->setNumChars($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numChars property value. The numChars property - * @return Json|null - */ - public function getNumChars(): ?Json { - $val = $this->getBackingStore()->get('numChars'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numChars'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numChars', $this->getNumChars()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numChars property value. The numChars property - * @param Json|null $value Value to set for the numChars property. - */ - public function setNumChars(?Json $value): void { - $this->getBackingStore()->set('numChars', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php index d724a73576d..1eb152facdf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Rightb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numBytes' => fn(ParseNode $n) => $o->setNumBytes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numBytes property value. The numBytes property - * @return Json|null - */ - public function getNumBytes(): ?Json { - $val = $this->getBackingStore()->get('numBytes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numBytes'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numBytes', $this->getNumBytes()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numBytes property value. The numBytes property - * @param Json|null $value Value to set for the numBytes property. - */ - public function setNumBytes(?Json $value): void { - $this->getBackingStore()->set('numBytes', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php index 8c10d9468e6..dfce89c642f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Roman; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'form' => fn(ParseNode $n) => $o->setForm($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the form property value. The form property - * @return Json|null - */ - public function getForm(): ?Json { - $val = $this->getBackingStore()->get('form'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'form'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('form', $this->getForm()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the form property value. The form property - * @param Json|null $value Value to set for the form property. - */ - public function setForm(?Json $value): void { - $this->getBackingStore()->set('form', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php index 3ccca47b46d..d924ecdc70b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Round; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numDigits' => fn(ParseNode $n) => $o->setNumDigits($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numDigits property value. The numDigits property - * @return Json|null - */ - public function getNumDigits(): ?Json { - $val = $this->getBackingStore()->get('numDigits'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numDigits'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numDigits', $this->getNumDigits()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numDigits property value. The numDigits property - * @param Json|null $value Value to set for the numDigits property. - */ - public function setNumDigits(?Json $value): void { - $this->getBackingStore()->set('numDigits', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php index cb25cd87606..41c65709eec 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\RoundDown; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numDigits' => fn(ParseNode $n) => $o->setNumDigits($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numDigits property value. The numDigits property - * @return Json|null - */ - public function getNumDigits(): ?Json { - $val = $this->getBackingStore()->get('numDigits'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numDigits'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numDigits', $this->getNumDigits()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numDigits property value. The numDigits property - * @param Json|null $value Value to set for the numDigits property. - */ - public function setNumDigits(?Json $value): void { - $this->getBackingStore()->set('numDigits', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php index 400945d08a4..8400ea2e96d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\RoundUp; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numDigits' => fn(ParseNode $n) => $o->setNumDigits($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numDigits property value. The numDigits property - * @return Json|null - */ - public function getNumDigits(): ?Json { - $val = $this->getBackingStore()->get('numDigits'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numDigits'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numDigits', $this->getNumDigits()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numDigits property value. The numDigits property - * @param Json|null $value Value to set for the numDigits property. - */ - public function setNumDigits(?Json $value): void { - $this->getBackingStore()->set('numDigits', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php index 9c3572c3430..a72467d0948 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Rows; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,7 +62,6 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -96,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php index 011e9be6d09..845e303aa1e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Rri; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pv', $this->getPv()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php index 0305691d4e7..7d32fc1e302 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php index 18710ee84f8..f37b070a926 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sech; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php index a3694e992a8..1ec7f0a70fa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Second; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php index 155d2e57f10..9b2474c6f21 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\SeriesSum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the coefficients property value. The coefficients property - * @return Json|null - */ - public function getCoefficients(): ?Json { - $val = $this->getBackingStore()->get('coefficients'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'coefficients'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCoefficients(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'coefficients' => fn(ParseNode $n) => $o->setCoefficients($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'm' => fn(ParseNode $n) => $o->setM($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the m property value. The m property - * @return Json|null - */ - public function getM(): ?Json { - $val = $this->getBackingStore()->get('m'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'm'"); - } - - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('coefficients', $this->getCoefficients()); - $writer->writeObjectValue('m', $this->getM()); - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the coefficients property value. The coefficients property - * @param Json|null $value Value to set for the coefficients property. - */ - public function setCoefficients(?Json $value): void { - $this->getBackingStore()->set('coefficients', $value); - } - - /** - * Sets the m property value. The m property - * @param Json|null $value Value to set for the m property. - */ - public function setM(?Json $value): void { - $this->getBackingStore()->set('m', $value); - } - - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php index 84a11f45f0f..693b9a77afe 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sheet; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php index e50426c51a0..d18bdd595cf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sheets; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php index 38f0c551cfc..d792139c4dc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sign; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php index 19a43ea1bde..937433ee443 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php index d15d20bc285..77b53644bff 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sinh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php index c6d24af9db2..4ad781beb90 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Skew; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php index ffecfd4a054..684a8d921ae 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Skew_p; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php index 4f4c36d111b..40ba6fe2f00 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sln; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getCost(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php index 2c1063c1ded..f6a76a1aad2 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Small; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'k' => fn(ParseNode $n) => $o->setK($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the k property value. The k property - * @return Json|null - */ - public function getK(): ?Json { - $val = $this->getBackingStore()->get('k'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'k'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('k', $this->getK()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the k property value. The k property - * @param Json|null $value Value to set for the k property. - */ - public function setK(?Json $value): void { - $this->getBackingStore()->set('k', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php index 5242d2c9e47..b5d09453de7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sqrt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php index bae4faa9fac..79475741f57 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\SqrtPi; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php index 25153cde061..3868f10d6d7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\StDevA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php index b0e09bcaccc..a8b944787e7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\StDevPA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php index 5c98118cce3..3ff734c517d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\StDev_P; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php index 86a43aecdd7..11114740625 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\StDev_S; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php index 92533071251..92fa8dd7a8c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Standardize; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php index 64245198505..d17a436800a 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Substitute; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'instanceNum' => fn(ParseNode $n) => $o->setInstanceNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'newText' => fn(ParseNode $n) => $o->setNewText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'oldText' => fn(ParseNode $n) => $o->setOldText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the instanceNum property value. The instanceNum property - * @return Json|null - */ - public function getInstanceNum(): ?Json { - $val = $this->getBackingStore()->get('instanceNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'instanceNum'"); - } - - /** - * Gets the newText property value. The newText property - * @return Json|null - */ - public function getNewText(): ?Json { - $val = $this->getBackingStore()->get('newText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'newText'"); - } - - /** - * Gets the oldText property value. The oldText property - * @return Json|null - */ - public function getOldText(): ?Json { - $val = $this->getBackingStore()->get('oldText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'oldText'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('instanceNum', $this->getInstanceNum()); - $writer->writeObjectValue('newText', $this->getNewText()); - $writer->writeObjectValue('oldText', $this->getOldText()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the instanceNum property value. The instanceNum property - * @param Json|null $value Value to set for the instanceNum property. - */ - public function setInstanceNum(?Json $value): void { - $this->getBackingStore()->set('instanceNum', $value); - } - - /** - * Sets the newText property value. The newText property - * @param Json|null $value Value to set for the newText property. - */ - public function setNewText(?Json $value): void { - $this->getBackingStore()->set('newText', $value); - } - - /** - * Sets the oldText property value. The oldText property - * @param Json|null $value Value to set for the oldText property. - */ - public function setOldText(?Json $value): void { - $this->getBackingStore()->set('oldText', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php index c8b3cb8b503..e00dd76eda5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Subtotal; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'functionNum' => fn(ParseNode $n) => $o->setFunctionNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the functionNum property value. The functionNum property - * @return Json|null - */ - public function getFunctionNum(): ?Json { - $val = $this->getBackingStore()->get('functionNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'functionNum'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('functionNum', $this->getFunctionNum()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the functionNum property value. The functionNum property - * @param Json|null $value Value to set for the functionNum property. - */ - public function setFunctionNum(?Json $value): void { - $this->getBackingStore()->set('functionNum', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php index a6c2ab74aad..7c50ae82204 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Sum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php index a538e9e25a2..4e84cb2db23 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\SumIf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getCriteria(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'range' => fn(ParseNode $n) => $o->setRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'sumRange' => fn(ParseNode $n) => $o->setSumRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the range property value. The range property - * @return Json|null - */ - public function getRange(): ?Json { - $val = $this->getBackingStore()->get('range'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'range'"); - } - - /** - * Gets the sumRange property value. The sumRange property - * @return Json|null - */ - public function getSumRange(): ?Json { - $val = $this->getBackingStore()->get('sumRange'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sumRange'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('range', $this->getRange()); - $writer->writeObjectValue('sumRange', $this->getSumRange()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the range property value. The range property - * @param Json|null $value Value to set for the range property. - */ - public function setRange(?Json $value): void { - $this->getBackingStore()->set('range', $value); - } - - /** - * Sets the sumRange property value. The sumRange property - * @param Json|null $value Value to set for the sumRange property. - */ - public function setSumRange(?Json $value): void { - $this->getBackingStore()->set('sumRange', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php index 9ed1b705d4e..9333fc162a3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\SumIfs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'sumRange' => fn(ParseNode $n) => $o->setSumRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the sumRange property value. The sumRange property - * @return Json|null - */ - public function getSumRange(): ?Json { - $val = $this->getBackingStore()->get('sumRange'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sumRange'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('sumRange', $this->getSumRange()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the sumRange property value. The sumRange property - * @param Json|null $value Value to set for the sumRange property. - */ - public function setSumRange(?Json $value): void { - $this->getBackingStore()->set('sumRange', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php index be34658e051..6999c7f283f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\SumSq; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php index 8fd3569bc18..8ff8234a755 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Syd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCost(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'per' => fn(ParseNode $n) => $o->setPer($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the per property value. The per property - * @return Json|null - */ - public function getPer(): ?Json { - $val = $this->getBackingStore()->get('per'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'per'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('per', $this->getPer()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the per property value. The per property - * @param Json|null $value Value to set for the per property. - */ - public function setPer(?Json $value): void { - $this->getBackingStore()->set('per', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TPostRequestBody.php index bbdaf285ae9..5a5c525a822 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\T; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php index f89dfa6f247..a94987b31fc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\T_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php index cbe170a09b4..bcf7c355f97 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\T_Dist_2T; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php index 5af6bf4dc8b..748e5369642 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\T_Dist_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php index a9e7c2c965d..b73a456ec9b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\T_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php index f535e6a3d32..220179bb117 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\T_Inv_2T; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php index 11489171da9..5a8c548a095 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Tan; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php index ba202c1e893..c5d38465bb1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Tanh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php index 6f38f827454..887118fb2ee 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\TbillEq; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the discount property value. The discount property - * @return Json|null - */ - public function getDiscount(): ?Json { - $val = $this->getBackingStore()->get('discount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'discount'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDiscount(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'discount' => fn(ParseNode $n) => $o->setDiscount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('discount', $this->getDiscount()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the discount property value. The discount property - * @param Json|null $value Value to set for the discount property. - */ - public function setDiscount(?Json $value): void { - $this->getBackingStore()->set('discount', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php index e083c9ed115..8038fe652b1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\TbillPrice; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the discount property value. The discount property - * @return Json|null - */ - public function getDiscount(): ?Json { - $val = $this->getBackingStore()->get('discount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'discount'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDiscount(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'discount' => fn(ParseNode $n) => $o->setDiscount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('discount', $this->getDiscount()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the discount property value. The discount property - * @param Json|null $value Value to set for the discount property. - */ - public function setDiscount(?Json $value): void { - $this->getBackingStore()->set('discount', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php index f2b4885cdb6..060c47e015c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\TbillYield; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php index 366ee40bdae..fd388e9f0f9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Text; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'formatText' => fn(ParseNode $n) => $o->setFormatText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the formatText property value. The formatText property - * @return Json|null - */ - public function getFormatText(): ?Json { - $val = $this->getBackingStore()->get('formatText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formatText'"); - } - - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('formatText', $this->getFormatText()); - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the formatText property value. The formatText property - * @param Json|null $value Value to set for the formatText property. - */ - public function setFormatText(?Json $value): void { - $this->getBackingStore()->set('formatText', $value); - } - - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php index d8727bbe01a..97dc95788dc 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Time; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'hour' => fn(ParseNode $n) => $o->setHour($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'minute' => fn(ParseNode $n) => $o->setMinute($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'second' => fn(ParseNode $n) => $o->setSecond($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the hour property value. The hour property - * @return Json|null - */ - public function getHour(): ?Json { - $val = $this->getBackingStore()->get('hour'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'hour'"); - } - - /** - * Gets the minute property value. The minute property - * @return Json|null - */ - public function getMinute(): ?Json { - $val = $this->getBackingStore()->get('minute'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'minute'"); - } - - /** - * Gets the second property value. The second property - * @return Json|null - */ - public function getSecond(): ?Json { - $val = $this->getBackingStore()->get('second'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'second'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('hour', $this->getHour()); - $writer->writeObjectValue('minute', $this->getMinute()); - $writer->writeObjectValue('second', $this->getSecond()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the hour property value. The hour property - * @param Json|null $value Value to set for the hour property. - */ - public function setHour(?Json $value): void { - $this->getBackingStore()->set('hour', $value); - } - - /** - * Sets the minute property value. The minute property - * @param Json|null $value Value to set for the minute property. - */ - public function setMinute(?Json $value): void { - $this->getBackingStore()->set('minute', $value); - } - - /** - * Sets the second property value. The second property - * @param Json|null $value Value to set for the second property. - */ - public function setSecond(?Json $value): void { - $this->getBackingStore()->set('second', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php index 855c29fb9f3..2b58a8afb74 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Timevalue; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'timeText' => fn(ParseNode $n) => $o->setTimeText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the timeText property value. The timeText property - * @return Json|null - */ - public function getTimeText(): ?Json { - $val = $this->getBackingStore()->get('timeText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'timeText'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('timeText', $this->getTimeText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the timeText property value. The timeText property - * @param Json|null $value Value to set for the timeText property. - */ - public function setTimeText(?Json $value): void { - $this->getBackingStore()->set('timeText', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php index 6947b7d88f0..b6616a43138 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Trim; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php index 9b8616f59c4..5ec4e22593d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\TrimMean; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'percent' => fn(ParseNode $n) => $o->setPercent($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the percent property value. The percent property - * @return Json|null - */ - public function getPercent(): ?Json { - $val = $this->getBackingStore()->get('percent'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'percent'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('percent', $this->getPercent()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the percent property value. The percent property - * @param Json|null $value Value to set for the percent property. - */ - public function setPercent(?Json $value): void { - $this->getBackingStore()->set('percent', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php index 4edd645aea7..96839ad0213 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Trunc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numDigits' => fn(ParseNode $n) => $o->setNumDigits($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numDigits property value. The numDigits property - * @return Json|null - */ - public function getNumDigits(): ?Json { - $val = $this->getBackingStore()->get('numDigits'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numDigits'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numDigits', $this->getNumDigits()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numDigits property value. The numDigits property - * @param Json|null $value Value to set for the numDigits property. - */ - public function setNumDigits(?Json $value): void { - $this->getBackingStore()->set('numDigits', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php index 895f499aaa9..1dd8b83e4f4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Type; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php index 6dfd2386e10..6f6349ddd36 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Unichar; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php index ff9be69defe..d31add4d5eb 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Unicode; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php index b1db49c5f34..817273fee3e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Upper; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php index 04852bf8da1..e6a3b203d3e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Usdollar; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimals property value. The decimals property - * @return Json|null - */ - public function getDecimals(): ?Json { - $val = $this->getBackingStore()->get('decimals'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimals'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDecimals(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimals' => fn(ParseNode $n) => $o->setDecimals($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimals', $this->getDecimals()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimals property value. The decimals property - * @param Json|null $value Value to set for the decimals property. - */ - public function setDecimals(?Json $value): void { - $this->getBackingStore()->set('decimals', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php index b50312c2a1e..04eed84e029 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Value; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php index 3046aaa768a..092adf669be 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\VarA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php index 4f0533a4db0..13aab4ea260 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\VarPA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php index b41d5d74a77..9c8b36b4c04 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Var_P; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php index 6705f622d6d..9b5d9e1a004 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Var_S; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php index 5c8f78528e2..e6c260f30c9 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Vdb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - - /** - * Gets the endPeriod property value. The endPeriod property - * @return Json|null - */ - public function getEndPeriod(): ?Json { - $val = $this->getBackingStore()->get('endPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endPeriod'"); - } - - /** - * Gets the factor property value. The factor property - * @return Json|null - */ - public function getFactor(): ?Json { - $val = $this->getBackingStore()->get('factor'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'factor'"); - } - /** * The deserialization information for the current model * @return array @@ -99,76 +62,14 @@ public function getFactor(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'endPeriod' => fn(ParseNode $n) => $o->setEndPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'factor' => fn(ParseNode $n) => $o->setFactor($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'noSwitch' => fn(ParseNode $n) => $o->setNoSwitch($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startPeriod' => fn(ParseNode $n) => $o->setStartPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the noSwitch property value. The noSwitch property - * @return Json|null - */ - public function getNoSwitch(): ?Json { - $val = $this->getBackingStore()->get('noSwitch'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'noSwitch'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - - /** - * Gets the startPeriod property value. The startPeriod property - * @return Json|null - */ - public function getStartPeriod(): ?Json { - $val = $this->getBackingStore()->get('startPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startPeriod'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('endPeriod', $this->getEndPeriod()); - $writer->writeObjectValue('factor', $this->getFactor()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('noSwitch', $this->getNoSwitch()); - $writer->writeObjectValue('salvage', $this->getSalvage()); - $writer->writeObjectValue('startPeriod', $this->getStartPeriod()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the endPeriod property value. The endPeriod property - * @param Json|null $value Value to set for the endPeriod property. - */ - public function setEndPeriod(?Json $value): void { - $this->getBackingStore()->set('endPeriod', $value); - } - - /** - * Sets the factor property value. The factor property - * @param Json|null $value Value to set for the factor property. - */ - public function setFactor(?Json $value): void { - $this->getBackingStore()->set('factor', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the noSwitch property value. The noSwitch property - * @param Json|null $value Value to set for the noSwitch property. - */ - public function setNoSwitch(?Json $value): void { - $this->getBackingStore()->set('noSwitch', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - - /** - * Sets the startPeriod property value. The startPeriod property - * @param Json|null $value Value to set for the startPeriod property. - */ - public function setStartPeriod(?Json $value): void { - $this->getBackingStore()->set('startPeriod', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php index 6308fccfcc1..2d39b2039d6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Vlookup; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the colIndexNum property value. The colIndexNum property - * @return Json|null - */ - public function getColIndexNum(): ?Json { - $val = $this->getBackingStore()->get('colIndexNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'colIndexNum'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getColIndexNum(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'colIndexNum' => fn(ParseNode $n) => $o->setColIndexNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lookupValue' => fn(ParseNode $n) => $o->setLookupValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rangeLookup' => fn(ParseNode $n) => $o->setRangeLookup($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'tableArray' => fn(ParseNode $n) => $o->setTableArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lookupValue property value. The lookupValue property - * @return Json|null - */ - public function getLookupValue(): ?Json { - $val = $this->getBackingStore()->get('lookupValue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupValue'"); - } - - /** - * Gets the rangeLookup property value. The rangeLookup property - * @return Json|null - */ - public function getRangeLookup(): ?Json { - $val = $this->getBackingStore()->get('rangeLookup'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rangeLookup'"); - } - - /** - * Gets the tableArray property value. The tableArray property - * @return Json|null - */ - public function getTableArray(): ?Json { - $val = $this->getBackingStore()->get('tableArray'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'tableArray'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('colIndexNum', $this->getColIndexNum()); - $writer->writeObjectValue('lookupValue', $this->getLookupValue()); - $writer->writeObjectValue('rangeLookup', $this->getRangeLookup()); - $writer->writeObjectValue('tableArray', $this->getTableArray()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the colIndexNum property value. The colIndexNum property - * @param Json|null $value Value to set for the colIndexNum property. - */ - public function setColIndexNum(?Json $value): void { - $this->getBackingStore()->set('colIndexNum', $value); - } - - /** - * Sets the lookupValue property value. The lookupValue property - * @param Json|null $value Value to set for the lookupValue property. - */ - public function setLookupValue(?Json $value): void { - $this->getBackingStore()->set('lookupValue', $value); - } - - /** - * Sets the rangeLookup property value. The rangeLookup property - * @param Json|null $value Value to set for the rangeLookup property. - */ - public function setRangeLookup(?Json $value): void { - $this->getBackingStore()->set('rangeLookup', $value); - } - - /** - * Sets the tableArray property value. The tableArray property - * @param Json|null $value Value to set for the tableArray property. - */ - public function setTableArray(?Json $value): void { - $this->getBackingStore()->set('tableArray', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php index 02f829b629c..73306da6bd5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\WeekNum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'returnType' => fn(ParseNode $n) => $o->setReturnType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the returnType property value. The returnType property - * @return Json|null - */ - public function getReturnType(): ?Json { - $val = $this->getBackingStore()->get('returnType'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'returnType'"); - } - - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('returnType', $this->getReturnType()); - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the returnType property value. The returnType property - * @param Json|null $value Value to set for the returnType property. - */ - public function setReturnType(?Json $value): void { - $this->getBackingStore()->set('returnType', $value); - } - - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php index 102cce5817b..f419c84c998 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Weekday; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'returnType' => fn(ParseNode $n) => $o->setReturnType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the returnType property value. The returnType property - * @return Json|null - */ - public function getReturnType(): ?Json { - $val = $this->getBackingStore()->get('returnType'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'returnType'"); - } - - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('returnType', $this->getReturnType()); - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the returnType property value. The returnType property - * @param Json|null $value Value to set for the returnType property. - */ - public function setReturnType(?Json $value): void { - $this->getBackingStore()->set('returnType', $value); - } - - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php index 7a959975e9d..b413ec7f004 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Weibull_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -68,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -99,34 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -138,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -154,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php index 84b275bd70d..3e8c8998260 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\WorkDay; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the days property value. The days property - * @return Json|null - */ - public function getDays(): ?Json { - $val = $this->getBackingStore()->get('days'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'days'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDays(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'days' => fn(ParseNode $n) => $o->setDays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'holidays' => fn(ParseNode $n) => $o->setHolidays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the holidays property value. The holidays property - * @return Json|null - */ - public function getHolidays(): ?Json { - $val = $this->getBackingStore()->get('holidays'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'holidays'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('days', $this->getDays()); - $writer->writeObjectValue('holidays', $this->getHolidays()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the days property value. The days property - * @param Json|null $value Value to set for the days property. - */ - public function setDays(?Json $value): void { - $this->getBackingStore()->set('days', $value); - } - - /** - * Sets the holidays property value. The holidays property - * @param Json|null $value Value to set for the holidays property. - */ - public function setHolidays(?Json $value): void { - $this->getBackingStore()->set('holidays', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php index 0271371dbc2..bdb69b621f4 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\WorkDay_Intl; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the days property value. The days property - * @return Json|null - */ - public function getDays(): ?Json { - $val = $this->getBackingStore()->get('days'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'days'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getDays(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'days' => fn(ParseNode $n) => $o->setDays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'holidays' => fn(ParseNode $n) => $o->setHolidays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'weekend' => fn(ParseNode $n) => $o->setWeekend($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the holidays property value. The holidays property - * @return Json|null - */ - public function getHolidays(): ?Json { - $val = $this->getBackingStore()->get('holidays'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'holidays'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - - /** - * Gets the weekend property value. The weekend property - * @return Json|null - */ - public function getWeekend(): ?Json { - $val = $this->getBackingStore()->get('weekend'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'weekend'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('days', $this->getDays()); - $writer->writeObjectValue('holidays', $this->getHolidays()); - $writer->writeObjectValue('startDate', $this->getStartDate()); - $writer->writeObjectValue('weekend', $this->getWeekend()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the days property value. The days property - * @param Json|null $value Value to set for the days property. - */ - public function setDays(?Json $value): void { - $this->getBackingStore()->set('days', $value); - } - - /** - * Sets the holidays property value. The holidays property - * @param Json|null $value Value to set for the holidays property. - */ - public function setHolidays(?Json $value): void { - $this->getBackingStore()->set('holidays', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - - /** - * Sets the weekend property value. The weekend property - * @param Json|null $value Value to set for the weekend property. - */ - public function setWeekend(?Json $value): void { - $this->getBackingStore()->set('weekend', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php index 89df51b0ee1..b5150a928aa 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Xirr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the dates property value. The dates property - * @return Json|null - */ - public function getDates(): ?Json { - $val = $this->getBackingStore()->get('dates'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'dates'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDates(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'dates' => fn(ParseNode $n) => $o->setDates($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'guess' => fn(ParseNode $n) => $o->setGuess($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the guess property value. The guess property - * @return Json|null - */ - public function getGuess(): ?Json { - $val = $this->getBackingStore()->get('guess'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'guess'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('dates', $this->getDates()); - $writer->writeObjectValue('guess', $this->getGuess()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the dates property value. The dates property - * @param Json|null $value Value to set for the dates property. - */ - public function setDates(?Json $value): void { - $this->getBackingStore()->set('dates', $value); - } - - /** - * Sets the guess property value. The guess property - * @param Json|null $value Value to set for the guess property. - */ - public function setGuess(?Json $value): void { - $this->getBackingStore()->set('guess', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php index 5233110586c..b1dfa449b06 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Xnpv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the dates property value. The dates property - * @return Json|null - */ - public function getDates(): ?Json { - $val = $this->getBackingStore()->get('dates'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'dates'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDates(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'dates' => fn(ParseNode $n) => $o->setDates($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('dates', $this->getDates()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the dates property value. The dates property - * @param Json|null $value Value to set for the dates property. - */ - public function setDates(?Json $value): void { - $this->getBackingStore()->set('dates', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php index 16e2cc74951..5a47229f1ac 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Year; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php index 73875439fbd..81dfebe06e8 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\YearFrac; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php index 0f011be1d12..270ccc04d12 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\YieldDisc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php index d8b27d40cb4..dd08002e91d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\YieldMat; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,86 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php index a7b2c5a05f6..296d1fdb593 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Functions\Z_Test; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'sigma' => fn(ParseNode $n) => $o->setSigma($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the sigma property value. The sigma property - * @return Json|null - */ - public function getSigma(): ?Json { - $val = $this->getBackingStore()->get('sigma'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sigma'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('sigma', $this->getSigma()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the sigma property value. The sigma property - * @param Json|null $value Value to set for the sigma property. - */ - public function setSigma(?Json $value): void { - $this->getBackingStore()->set('sigma', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddPostRequestBody.php index 6ee003b364c..1bcb4699733 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Names\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -77,7 +76,6 @@ public function getFieldDeserializers(): array { return [ 'comment' => fn(ParseNode $n) => $o->setComment($n->getStringValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -93,18 +91,6 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -112,7 +98,6 @@ public function getReference(): ?Json { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('comment', $this->getComment()); $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -148,12 +133,4 @@ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.php index 95c8add5084..b3ef948e1a6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations/$count{?%24search}'); + parent::__construct($requestAdapter, [], '{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilderGetQueryParameters.php index 5e9393d0b5a..2522453a2e6 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CountRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + /** * @QueryParameter("%24search") * @var string|null $search Search items by search phrases @@ -17,9 +23,11 @@ class CountRequestBuilderGetQueryParameters /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. + * @param string|null $filter Filter items by property values * @param string|null $search Search items by search phrases */ - public function __construct(?string $search = null) { + public function __construct(?string $filter = null, ?string $search = null) { + $this->filter = $filter; $this->search = $search; } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilderGetRequestConfiguration.php index 1217579d326..e46fbc56c6c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $search = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($search); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php index 69e879c80bc..08569981a83 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.php @@ -43,7 +43,7 @@ public function byWorkbookOperationId(string $workbookOperationId): WorkbookOper * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations{?%24expand,%24orderby,%24search,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php index 4b30b0a3e4a..e5ee238c0b7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -9,12 +9,24 @@ */ class OperationsRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24count") + * @var bool|null $count Include count of items + */ + public ?bool $count = null; + /** * @QueryParameter("%24expand") * @var array|null $expand Expand related entities */ public ?array $expand = null; + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + /** * @QueryParameter("%24orderby") * @var array|null $orderby Order items by property values @@ -33,18 +45,38 @@ class OperationsRequestBuilderGetQueryParameters */ public ?array $select = null; + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + /** * Instantiates a new OperationsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items */ - public function __construct(?array $expand = null, ?array $orderby = null, ?string $search = null, ?array $select = null) { + 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) { + $this->count = $count; $this->expand = $expand; + $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; $this->select = $select; + $this->skip = $skip; + $this->top = $top; } } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php index a7ad4a424e8..1c1e63cd94f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php @@ -28,14 +28,18 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ope /** * Instantiates a new OperationsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items * @return OperationsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $orderby = null, ?string $search = null, ?array $select = null): OperationsRequestBuilderGetQueryParameters { - return new OperationsRequestBuilderGetQueryParameters($expand, $orderby, $search, $select); + 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): OperationsRequestBuilderGetQueryParameters { + return new OperationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php index 6762a09a37f..846bd0e4800 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Tables\Item\Columns\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -65,7 +64,6 @@ public function getFieldDeserializers(): array { return [ 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -93,18 +91,6 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -112,7 +98,6 @@ public function getValues(): ?Json { public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('index', $this->getIndex()); $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -148,12 +133,4 @@ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php index a856df43f28..5409e55babd 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Tables\Item\Columns\Item\Filter\ApplyValuesFilter; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php index e7d9ad89f14..804d5dfb7bf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Tables\Item\Rows\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getIndex(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('index', $this->getIndex()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setIndex(?int $value): void { $this->getBackingStore()->set('index', $value); } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php index 8c80a94d991..b73c020064b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Charts\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - 'sourceData' => fn(ParseNode $n) => $o->setSourceData($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), ]; } @@ -81,18 +79,6 @@ public function getSeriesBy(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); } - /** - * Gets the sourceData property value. The sourceData property - * @return Json|null - */ - public function getSourceData(): ?Json { - $val = $this->getBackingStore()->get('sourceData'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceData'"); - } - /** * Gets the type property value. The type property * @return string|null @@ -111,7 +97,6 @@ public function getType(): ?string { */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $writer->writeObjectValue('sourceData', $this->getSourceData()); $writer->writeStringValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -140,14 +125,6 @@ public function setSeriesBy(?string $value): void { $this->getBackingStore()->set('seriesBy', $value); } - /** - * Sets the sourceData property value. The sourceData property - * @param Json|null $value Value to set for the sourceData property. - */ - public function setSourceData(?Json $value): void { - $this->getBackingStore()->set('sourceData', $value); - } - /** * Sets the type property value. The type property * @param string|null $value Value to set for the type property. diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php index 24641d35a2b..4e3583cbfe7 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Charts\Item\SetData; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - 'sourceData' => fn(ParseNode $n) => $o->setSourceData($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getSeriesBy(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); } - /** - * Gets the sourceData property value. The sourceData property - * @return Json|null - */ - public function getSourceData(): ?Json { - $val = $this->getBackingStore()->get('sourceData'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceData'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $writer->writeObjectValue('sourceData', $this->getSourceData()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setSeriesBy(?string $value): void { $this->getBackingStore()->set('seriesBy', $value); } - /** - * Sets the sourceData property value. The sourceData property - * @param Json|null $value Value to set for the sourceData property. - */ - public function setSourceData(?Json $value): void { - $this->getBackingStore()->set('sourceData', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php index 84a9d4091ea..9caab2746ce 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Charts\Item\SetPosition; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endCell property value. The endCell property - * @return Json|null - */ - public function getEndCell(): ?Json { - $val = $this->getBackingStore()->get('endCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endCell'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEndCell(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endCell' => fn(ParseNode $n) => $o->setEndCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startCell' => fn(ParseNode $n) => $o->setStartCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startCell property value. The startCell property - * @return Json|null - */ - public function getStartCell(): ?Json { - $val = $this->getBackingStore()->get('startCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startCell'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endCell', $this->getEndCell()); - $writer->writeObjectValue('startCell', $this->getStartCell()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endCell property value. The endCell property - * @param Json|null $value Value to set for the endCell property. - */ - public function setEndCell(?Json $value): void { - $this->getBackingStore()->set('endCell', $value); - } - - /** - * Sets the startCell property value. The startCell property - * @param Json|null $value Value to set for the startCell property. - */ - public function setStartCell(?Json $value): void { - $this->getBackingStore()->set('startCell', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php index 85fea287405..e6f555abb5d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Charts\ItemAtWithIndex\SetData; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - 'sourceData' => fn(ParseNode $n) => $o->setSourceData($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getSeriesBy(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); } - /** - * Gets the sourceData property value. The sourceData property - * @return Json|null - */ - public function getSourceData(): ?Json { - $val = $this->getBackingStore()->get('sourceData'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceData'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $writer->writeObjectValue('sourceData', $this->getSourceData()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setSeriesBy(?string $value): void { $this->getBackingStore()->set('seriesBy', $value); } - /** - * Sets the sourceData property value. The sourceData property - * @param Json|null $value Value to set for the sourceData property. - */ - public function setSourceData(?Json $value): void { - $this->getBackingStore()->set('sourceData', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php index a1e24d01025..744b1e02d29 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Charts\ItemAtWithIndex\SetPosition; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endCell property value. The endCell property - * @return Json|null - */ - public function getEndCell(): ?Json { - $val = $this->getBackingStore()->get('endCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endCell'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEndCell(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endCell' => fn(ParseNode $n) => $o->setEndCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startCell' => fn(ParseNode $n) => $o->setStartCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startCell property value. The startCell property - * @return Json|null - */ - public function getStartCell(): ?Json { - $val = $this->getBackingStore()->get('startCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startCell'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endCell', $this->getEndCell()); - $writer->writeObjectValue('startCell', $this->getStartCell()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endCell property value. The endCell property - * @param Json|null $value Value to set for the endCell property. - */ - public function setEndCell(?Json $value): void { - $this->getBackingStore()->set('endCell', $value); - } - - /** - * Sets the startCell property value. The startCell property - * @param Json|null $value Value to set for the startCell property. - */ - public function setStartCell(?Json $value): void { - $this->getBackingStore()->set('startCell', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php index 84de3c67b9a..f0d4f170284 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Charts\ItemWithName\SetData; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - 'sourceData' => fn(ParseNode $n) => $o->setSourceData($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getSeriesBy(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); } - /** - * Gets the sourceData property value. The sourceData property - * @return Json|null - */ - public function getSourceData(): ?Json { - $val = $this->getBackingStore()->get('sourceData'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceData'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $writer->writeObjectValue('sourceData', $this->getSourceData()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setSeriesBy(?string $value): void { $this->getBackingStore()->set('seriesBy', $value); } - /** - * Sets the sourceData property value. The sourceData property - * @param Json|null $value Value to set for the sourceData property. - */ - public function setSourceData(?Json $value): void { - $this->getBackingStore()->set('sourceData', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php index d6b096816a7..58f625ff93e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Charts\ItemWithName\SetPosition; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endCell property value. The endCell property - * @return Json|null - */ - public function getEndCell(): ?Json { - $val = $this->getBackingStore()->get('endCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endCell'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEndCell(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endCell' => fn(ParseNode $n) => $o->setEndCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startCell' => fn(ParseNode $n) => $o->setStartCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startCell property value. The startCell property - * @return Json|null - */ - public function getStartCell(): ?Json { - $val = $this->getBackingStore()->get('startCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startCell'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endCell', $this->getEndCell()); - $writer->writeObjectValue('startCell', $this->getStartCell()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endCell property value. The endCell property - * @param Json|null $value Value to set for the endCell property. - */ - public function setEndCell(?Json $value): void { - $this->getBackingStore()->set('endCell', $value); - } - - /** - * Sets the startCell property value. The startCell property - * @param Json|null $value Value to set for the startCell property. - */ - public function setStartCell(?Json $value): void { - $this->getBackingStore()->set('startCell', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php index ca5e951940c..ad848a96699 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Names\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -77,7 +76,6 @@ public function getFieldDeserializers(): array { return [ 'comment' => fn(ParseNode $n) => $o->setComment($n->getStringValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -93,18 +91,6 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -112,7 +98,6 @@ public function getReference(): ?Json { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('comment', $this->getComment()); $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -148,12 +133,4 @@ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php index 949b0dc3194..a9c99c265d1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Tables\Item\Columns\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -65,7 +64,6 @@ public function getFieldDeserializers(): array { return [ 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -93,18 +91,6 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -112,7 +98,6 @@ public function getValues(): ?Json { public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('index', $this->getIndex()); $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -148,12 +133,4 @@ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php index ce30693fc14..4c46f198f71 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Tables\Item\Columns\Item\Filter\ApplyValuesFilter; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php index 9677587ca4a..498e370fd71 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\Workbook\Worksheets\Item\Tables\Item\Rows\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getIndex(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('index', $this->getIndex()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setIndex(?int $value): void { $this->getBackingStore()->set('index', $value); } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Item/EducationGradingCategoryItemRequestBuilder.php b/src/Generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Item/EducationGradingCategoryItemRequestBuilder.php index d5939b2a924..a58e59efcad 100644 --- a/src/Generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Item/EducationGradingCategoryItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/AssignmentSettings/GradingCategories/Item/EducationGradingCategoryItemRequestBuilder.php @@ -59,11 +59,12 @@ public function get(?EducationGradingCategoryItemRequestBuilderGetRequestConfigu } /** - * Update the navigation property gradingCategories in education + * Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation. * @param EducationGradingCategory $body The request body * @param EducationGradingCategoryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationgradingcategory-update?view=graph-rest-1.0 Find more info here */ public function patch(EducationGradingCategory $body, ?EducationGradingCategoryItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -113,7 +114,7 @@ public function toGetRequestInformation(?EducationGradingCategoryItemRequestBuil } /** - * Update the navigation property gradingCategories in education + * Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation. * @param EducationGradingCategory $body The request body * @param EducationGradingCategoryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php index 3d12f4cb105..6b3d19e0a01 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -68,10 +68,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param CategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 Find more info here */ public function get(?CategoriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,11 +83,12 @@ public function get(?CategoriesRequestBuilderGetRequestConfiguration $requestCon } /** - * Create new navigation property to categories for education + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param CategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-post-categories?view=graph-rest-1.0 Find more info here */ public function post(EducationCategory $body, ?CategoriesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -97,7 +99,7 @@ public function post(EducationCategory $body, ?CategoriesRequestBuilderPostReque } /** - * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param CategoriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -118,7 +120,7 @@ public function toGetRequestInformation(?CategoriesRequestBuilderGetRequestConfi } /** - * Create new navigation property to categories for education + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param EducationCategory $body The request body * @param CategoriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php index 425b3ef3574..d35ed11160b 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class CategoriesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php index 95e69dcc6a7..71e8198e175 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.php @@ -30,10 +30,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete ref of navigation property categories for education + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0 Find more info here */ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -44,7 +45,7 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * Delete ref of navigation property categories for education + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php index 018e36e58e6..7387d230fce 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.php @@ -32,10 +32,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete ref of navigation property categories for education + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0 Find more info here */ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,10 +47,11 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 Find more info here */ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -60,11 +62,12 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Create new navigation property ref to categories for education + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-post-categories?view=graph-rest-1.0 Find more info here */ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -75,7 +78,7 @@ public function post(ReferenceCreate $body, ?RefRequestBuilderPostRequestConfigu } /** - * Delete ref of navigation property categories for education + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -96,7 +99,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } /** - * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -117,7 +120,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } /** - * Create new navigation property ref to categories for education + * Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderDeleteQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderDeleteQueryParameters.php index b38b7eeed00..a5acb1a2587 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderDeleteQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderDeleteQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Delete ref of navigation property categories for education + * Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. */ class RefRequestBuilderDeleteQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php index 89e64e51a25..f7bf8f0815b 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class RefRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php index f2c2f7cf7e5..f1a1ebc8153 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property resources for education + * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. * @param EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignmentresource-delete?view=graph-rest-1.0 Find more info here */ public function delete(?EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -45,10 +46,11 @@ public function delete(?EducationAssignmentResourceItemRequestBuilderDeleteReque } /** - * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0 Find more info here */ public function get(?EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -74,7 +76,7 @@ public function patch(EducationAssignmentResource $body, ?EducationAssignmentRes } /** - * Delete navigation property resources for education + * Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers can't remove resources marked as 'distributeToStudents', after the assignment has been published to students. * @param EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?EducationAssignmentResourceItemReque } /** - * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php index 64a50c13194..c192daed2c1 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class EducationAssignmentResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php index 3e494816050..0dbce57c0c4 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0 Find more info here */ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConf } /** - * Create new navigation property to resources for education + * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationAssignmentResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-post-resource?view=graph-rest-1.0 Find more info here */ public function post(EducationAssignmentResource $body, ?ResourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(EducationAssignmentResource $body, ?ResourcesRequestBuilder } /** - * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } /** - * Create new navigation property to resources for education + * Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationAssignmentResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index e1480d3427f..2032a1f952e 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php index b485e3c2510..b1786b71347 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete ref of navigation property rubric for education + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0 Find more info here */ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -45,10 +46,11 @@ public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConf } /** - * When set, the grading rubric attached to this assignment. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 Find more info here */ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,11 +63,12 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Update the ref of navigation property rubric in education + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0 Find more info here */ public function put(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -76,7 +79,7 @@ public function put(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfigura } /** - * Delete ref of navigation property rubric for education + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -94,7 +97,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig } /** - * When set, the grading rubric attached to this assignment. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -112,7 +115,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } /** - * Update the ref of navigation property rubric in education + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param ReferenceUpdate $body The request body * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php index 8415db5ad05..d25330f792f 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.php @@ -39,10 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property rubric for education + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RubricRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0 Find more info here */ public function delete(?RubricRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -53,10 +54,11 @@ public function delete(?RubricRequestBuilderDeleteRequestConfiguration $requestC } /** - * When set, the grading rubric attached to this assignment. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RubricRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 Find more info here */ public function get(?RubricRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,11 +69,12 @@ public function get(?RubricRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Update the navigation property rubric in education + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param EducationRubric $body The request body * @param RubricRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0 Find more info here */ public function patch(EducationRubric $body, ?RubricRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -82,7 +85,7 @@ public function patch(EducationRubric $body, ?RubricRequestBuilderPatchRequestCo } /** - * Delete navigation property rubric for education + * Remove an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. * @param RubricRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -100,7 +103,7 @@ public function toDeleteRequestInformation(?RubricRequestBuilderDeleteRequestCon } /** - * When set, the grading rubric attached to this assignment. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. * @param RubricRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +124,7 @@ public function toGetRequestInformation(?RubricRequestBuilderGetRequestConfigura } /** - * Update the navigation property rubric in education + * Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. * @param EducationRubric $body The request body * @param RubricRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php index c1b9a63ee26..276d7487f50 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * When set, the grading rubric attached to this assignment. + * Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. */ class RubricRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php index 7639595f8d4..df2e6ffde31 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.php @@ -117,10 +117,11 @@ public function delete(?EducationSubmissionItemRequestBuilderDeleteRequestConfig } /** - * Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. * @param EducationSubmissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0 Find more info here */ public function get(?EducationSubmissionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -164,7 +165,7 @@ public function toDeleteRequestInformation(?EducationSubmissionItemRequestBuilde } /** - * Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. * @param EducationSubmissionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php index ecee4e88273..cbc0ebaf42c 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. + * Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. */ class EducationSubmissionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php index 1141b81eaf8..32550ef30d2 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property outcomes for education + * Delete a feedback resource from a submission. This can only be done by a teacher. * @param EducationOutcomeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0 Find more info here */ public function delete(?EducationOutcomeItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -59,11 +60,12 @@ public function get(?EducationOutcomeItemRequestBuilderGetRequestConfiguration $ } /** - * Update the navigation property outcomes in education + * Update the properties of an educationOutcome object. Only teachers can perform this operation. * @param EducationOutcome $body The request body * @param EducationOutcomeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationoutcome-update?view=graph-rest-1.0 Find more info here */ public function patch(EducationOutcome $body, ?EducationOutcomeItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -74,7 +76,7 @@ public function patch(EducationOutcome $body, ?EducationOutcomeItemRequestBuilde } /** - * Delete navigation property outcomes for education + * Delete a feedback resource from a submission. This can only be done by a teacher. * @param EducationOutcomeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +115,7 @@ public function toGetRequestInformation(?EducationOutcomeItemRequestBuilderGetRe } /** - * Update the navigation property outcomes in education + * Update the properties of an educationOutcome object. Only teachers can perform this operation. * @param EducationOutcome $body The request body * @param EducationOutcomeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php index bcd5fc5f786..fa2b2cc394c 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get outcomes from education + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. * @param OutcomesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0 Find more info here */ public function get(?OutcomesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?OutcomesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Create new navigation property to outcomes for education + * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. * @param EducationOutcome $body The request body * @param OutcomesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-post-outcomes?view=graph-rest-1.0 Find more info here */ public function post(EducationOutcome $body, ?OutcomesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(EducationOutcome $body, ?OutcomesRequestBuilderPostRequestC } /** - * Get outcomes from education + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. * @param OutcomesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?OutcomesRequestBuilderGetRequestConfigu } /** - * Create new navigation property to outcomes for education + * Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. * @param EducationOutcome $body The request body * @param OutcomesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php index 7d5cfd2ad0c..13caf78d61d 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get outcomes from education + * Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. */ class OutcomesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php index 418252de3b5..3fa597843d9 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property resources for education + * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. * @param EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationsubmissionresource-delete?view=graph-rest-1.0 Find more info here */ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -45,10 +46,11 @@ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteReque } /** - * Get resources from education + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0 Find more info here */ public function get(?EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -74,7 +76,7 @@ public function patch(EducationSubmissionResource $body, ?EducationSubmissionRes } /** - * Delete navigation property resources for education + * Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. * @param EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?EducationSubmissionResourceItemReque } /** - * Get resources from education + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php index a7c6522e397..4ff3fe450ad 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get resources from education + * Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. */ class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php index 6bb349f03cc..fcb3e438f04 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get resources from education + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0 Find more info here */ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConf } /** - * Create new navigation property to resources for education + * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. * @param EducationSubmissionResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationsubmission-post-resources?view=graph-rest-1.0 Find more info here */ public function post(EducationSubmissionResource $body, ?ResourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(EducationSubmissionResource $body, ?ResourcesRequestBuilder } /** - * Get resources from education + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } /** - * Create new navigation property to resources for education + * Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. * @param EducationSubmissionResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index c9227e84820..971e070c0f9 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get resources from education + * List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php index c6e93f4f977..cdc885cde0f 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?EducationSubmissionResourceItemRequestBuilderDeleteReque } /** - * Get submittedResources from education + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationsubmittedsubmissionresource-get?view=graph-rest-1.0 Find more info here */ public function get(?EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +93,7 @@ public function toDeleteRequestInformation(?EducationSubmissionResourceItemReque } /** - * Get submittedResources from education + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. * @param EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php index 3bb1bc684c6..d35106b4737 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get submittedResources from education + * Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Teachers can leave notes in some resources. */ class EducationSubmissionResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php index eb4f1b074b4..20f915f409c 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get submittedResources from education + * List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. * @param SubmittedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationsubmission-list-submittedresources?view=graph-rest-1.0 Find more info here */ public function get(?SubmittedResourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(EducationSubmissionResource $body, ?SubmittedResourcesReque } /** - * Get submittedResources from education + * List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. * @param SubmittedResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php index 4a6ce19988b..ef95a6afc06 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get submittedResources from education + * List the educationSubmissionResource objects that were officially submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission can't change the submitted list without resubmitting the assignment. This resource is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. */ class SubmittedResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php index 0f7a1e955b6..a7afd04f9a7 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. * @param SubmissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 Find more info here */ public function get(?SubmissionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(EducationSubmission $body, ?SubmissionsRequestBuilderPostRe } /** - * Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. * @param SubmissionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php index 5f8325f5b38..134722cfede 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. + * List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they're associated with. */ class SubmissionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilder.php b/src/Generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilder.php index 1bb8bdb9f52..b33c85970aa 100644 --- a/src/Generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property resources for education + * Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. * @param EducationModuleResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationmoduleresource-delete?view=graph-rest-1.0 Find more info here */ public function delete(?EducationModuleResourceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -45,10 +46,11 @@ public function delete(?EducationModuleResourceItemRequestBuilderDeleteRequestCo } /** - * Learning objects that are associated with this module. Only teachers can modify this list. Nullable. + * Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationModuleResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationmoduleresource-get?view=graph-rest-1.0 Find more info here */ public function get(?EducationModuleResourceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -59,11 +61,12 @@ public function get(?EducationModuleResourceItemRequestBuilderGetRequestConfigur } /** - * Update the navigation property resources in education + * Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. * @param EducationModuleResource $body The request body * @param EducationModuleResourceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationmoduleresource-update?view=graph-rest-1.0 Find more info here */ public function patch(EducationModuleResource $body, ?EducationModuleResourceItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -74,7 +77,7 @@ public function patch(EducationModuleResource $body, ?EducationModuleResourceIte } /** - * Delete navigation property resources for education + * Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. * @param EducationModuleResourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +95,7 @@ public function toDeleteRequestInformation(?EducationModuleResourceItemRequestBu } /** - * Learning objects that are associated with this module. Only teachers can modify this list. Nullable. + * Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. * @param EducationModuleResourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +116,7 @@ public function toGetRequestInformation(?EducationModuleResourceItemRequestBuild } /** - * Update the navigation property resources in education + * Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. * @param EducationModuleResource $body The request body * @param EducationModuleResourceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilderGetQueryParameters.php index 03c8230c849..f3518c37781 100644 --- a/src/Generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Modules/Item/Resources/Item/EducationModuleResourceItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Learning objects that are associated with this module. Only teachers can modify this list. Nullable. + * Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. */ class EducationModuleResourceItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilder.php b/src/Generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilder.php index abde3812976..d12fbb2b606 100644 --- a/src/Generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Learning objects that are associated with this module. Only teachers can modify this list. Nullable. + * Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationmodule-list-resources?view=graph-rest-1.0 Find more info here */ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?ResourcesRequestBuilderGetRequestConfiguration $requestConf } /** - * Create new navigation property to resources for education + * Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationModuleResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/educationmodule-post-resources?view=graph-rest-1.0 Find more info here */ public function post(EducationModuleResource $body, ?ResourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(EducationModuleResource $body, ?ResourcesRequestBuilderPost } /** - * Learning objects that are associated with this module. Only teachers can modify this list. Nullable. + * Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. * @param ResourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?ResourcesRequestBuilderGetRequestConfig } /** - * Create new navigation property to resources for education + * Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. * @param EducationModuleResource $body The request body * @param ResourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php b/src/Generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php index 8b48589afae..2c06db988f0 100644 --- a/src/Generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Education/Classes/Item/Modules/Item/Resources/ResourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Learning objects that are associated with this module. Only teachers can modify this list. Nullable. + * Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. */ class ResourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php index fe704044a07..40f82235baa 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get documents from print + * Download the binary file associated with a printDocument. Calling this method yields a redirect response with a preauthenticated URL that can be used to download the payload. * @param DocumentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/printdocument-get-file?view=graph-rest-1.0 Find more info here */ public function get(?DocumentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(PrintDocument $body, ?DocumentsRequestBuilderPostRequestCon } /** - * Get documents from print + * Download the binary file associated with a printDocument. Calling this method yields a redirect response with a preauthenticated URL that can be used to download the payload. * @param DocumentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilderGetQueryParameters.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilderGetQueryParameters.php index 9f332aa9c42..a3251dc4cca 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get documents from print + * Download the binary file associated with a printDocument. Calling this method yields a redirect response with a preauthenticated URL that can be used to download the payload. */ class DocumentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php index 2d7c011bc9b..20e512e2784 100644 --- a/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/EscapedPrint/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The unique identifier for an entity. Read-only. + * Download the binary file associated with a printDocument. Calling this method yields a redirect response with a preauthenticated URL that can be used to download the payload. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/printdocument-get-file?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -96,7 +97,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The unique identifier for an entity. Read-only. + * Download the binary file associated with a printDocument. Calling this method yields a redirect response with a preauthenticated URL that can be used to download the payload. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php b/src/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php index 386a76681bc..33ec8229267 100644 --- a/src/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property members for external + * Delete an identity resource to remove the corresponding member from an externalGroup. * @param IdentityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/externalconnectors-externalgroupmember-delete?view=graph-rest-1.0 Find more info here */ public function delete(?IdentityItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -74,7 +75,7 @@ public function patch(Identity $body, ?IdentityItemRequestBuilderPatchRequestCon } /** - * Delete navigation property members for external + * Delete an identity resource to remove the corresponding member from an externalGroup. * @param IdentityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php b/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php index 544398b5a98..15b6b519c53 100644 --- a/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.php @@ -66,11 +66,12 @@ public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create new navigation property to members for external + * Create an identity resource for a new member in an externalGroup. * @param Identity $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-post-members?view=graph-rest-1.0 Find more info here */ public function post(Identity $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -102,7 +103,7 @@ public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfigur } /** - * Create new navigation property to members for external + * Create an identity resource for a new member in an externalGroup. * @param Identity $body The request body * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php index 06904a0c1b9..29026fd0649 100644 --- a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php @@ -46,7 +46,7 @@ public function get(?SchemaRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new schema object. + * Create a new or update an existing schema for a Microsoft Search connection. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } /** - * Create a new schema object. + * Create a new or update an existing schema for a Microsoft Search connection. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php index 39d1afff511..624e621b198 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php +++ b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php @@ -50,7 +50,7 @@ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectI * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/acceptedSenders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/acceptedSenders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetQueryParameters.php index aace524a44a..35a5b33f079 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class AcceptedSendersRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class AcceptedSendersRequestBuilderGetQueryParameters /** * Instantiates a new AcceptedSendersRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class AcceptedSendersRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetRequestConfiguration.php index a41c703f80d..f751842beba 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Acc /** * Instantiates a new AcceptedSendersRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Acc * @param int|null $top Show only the first n items * @return AcceptedSendersRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AcceptedSendersRequestBuilderGetQueryParameters { - return new AcceptedSendersRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): AcceptedSendersRequestBuilderGetQueryParameters { + return new AcceptedSendersRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php index 72e9c9e48e3..58dcf59fe0c 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.php @@ -23,7 +23,7 @@ class RefRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -105,7 +105,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig */ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = '{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24skip,%24top}'; + $requestInfo->urlTemplate = '{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}'; $requestInfo->pathParameters = $this->pathParameters; $requestInfo->httpMethod = HttpMethod::GET; if ($requestConfiguration !== null) { diff --git a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetQueryParameters.php index 3cef59c13fd..e08ef0cc271 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetQueryParameters.php @@ -27,6 +27,12 @@ class RefRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24skip") * @var int|null $skip Skip the first n items @@ -44,13 +50,15 @@ class RefRequestBuilderGetQueryParameters * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?int $skip = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?int $skip = null, ?int $top = null) { $this->count = $count; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->skip = $skip; $this->top = $top; } diff --git a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetRequestConfiguration.php index 458690da682..f80b6188756 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilderGetRequestConfiguration.php @@ -31,12 +31,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ref * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return RefRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?int $skip = null, ?int $top = null): RefRequestBuilderGetQueryParameters { - return new RefRequestBuilderGetQueryParameters($count, $filter, $orderby, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?int $skip = null, ?int $top = null): RefRequestBuilderGetQueryParameters { + return new RefRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php index 06311d08da2..e5f8536032a 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byCalendarPermissionId(string $calendarPermissionId): CalendarPe * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php index f54dae0b1c7..f34ab0b2f14 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class CalendarPermissionsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class CalendarPermissionsRequestBuilderGetQueryParameters /** * Instantiates a new CalendarPermissionsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class CalendarPermissionsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php index 75f79e58832..6e747449f5e 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarPermissionsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * @param int|null $top Show only the first n items * @return CalendarPermissionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): CalendarPermissionsRequestBuilderGetQueryParameters { - return new CalendarPermissionsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): CalendarPermissionsRequestBuilderGetQueryParameters { + return new CalendarPermissionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index 5f5c35b1ac5..610af7b3166 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions/{calendarPermission%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php index d200ba60979..059e51c7a38 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarPermissionItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarPermissionItemRequestBuilderGetQueryParameters /** * Instantiates a new CalendarPermissionItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php index b7274fc0527..1322ba2e33c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarPermissionItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarPermissionItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarPermissionItemRequestBuilderGetQueryParameters { - return new CalendarPermissionItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarPermissionItemRequestBuilderGetQueryParameters { + return new CalendarPermissionItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarRequestBuilder.php index 98eb4b2a513..14470884803 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarRequestBuilder.php @@ -64,7 +64,7 @@ public function allowedCalendarSharingRolesWithUser(string $user): AllowedCalend * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index d240d628846..142176115b5 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 7871be94632..8d9bdc52658 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php index 3d7fd17d188..b0c1590b282 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId(string $eventId): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php index ae7f5a74e45..a70d6163dd1 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class CalendarViewRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class CalendarViewRequestBuilderGetQueryParameters * Instantiates a new CalendarViewRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class CalendarViewRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php index 5d30e6a03c2..f507082150d 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * Instantiates a new CalendarViewRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * @param int|null $top Show only the first n items * @return CalendarViewRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { - return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { + return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php index a18931fb6b8..7ec05129aa1 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 85096d52503..ecf5187d070 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index f8f356d12e6..8e46b7845ac 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php index 78b45f560eb..73d5bed9b22 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php @@ -110,7 +110,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php index f03ea0d199c..d3353ef57ff 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php index 6d0c2041f8f..f6b27b87272 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php index fad0bdb9ac0..c1bf2c483d2 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 5327e5e1cdc..ddfaa57be53 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class InstancesRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index f900980acdd..42344acb206 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index b3626f1a808..7d64e644e36 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index f0d8dd3f675..a2546b6c5c8 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index cb071860000..cadfe5d3ae6 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index ae7e0279edb..5a0d74b5f9e 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 651601196f2..0ada653abfe 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 23e71a9b55a..7ec5b35b033 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index df2bab8587a..e8652905431 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index c298c2c752c..6e1a98af2a5 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index b89c2330369..4cbddd2977e 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 7c8be6d9b98..9f3630cd2c8 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index 2f04eb94c13..c139c3770f9 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index 0723083f554..9f62d433c5b 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index c5e467ce60e..1e7e72a668b 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 90e6156abb1..ed45a9ea44d 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 4d46844f867..d943be51835 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index f440e9866ee..cc0e4bc192c 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index f970350690a..dbfcdf033f8 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 8c452572f80..a26c0fd3060 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php index 4423062fd01..207c960987f 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index ced07d1b2e9..24318daeaac 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 4acd4c52fbc..d1b0e086fe1 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php index 2bdc0111cc3..e12b2a41de4 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 6703fba345b..7bf2601d3fe 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class InstancesRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index 3968610900a..334027df087 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index e1b633fd0a8..64665326148 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 97f87041e79..2c75ddb6b05 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 0622632463f..5c363d64394 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index 4fd9373135a..ae1bbcbadbe 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 71fb5236619..8e88ba3ae3e 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index e318a92951c..539b548c2ae 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 247fd94e80b..c8512a5afce 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 3768530fc37..a4b7c4ad2c0 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index e1699d9ffaf..bab245dd622 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php index 6f5a9ca055d..1cce3e85b5f 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index 8c11057d5da..552a167d41f 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index 82dd4ace7c8..87d9cb5910c 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 7aca479f280..2b4aa73dd0b 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index d4efaefd679..8da02731bc5 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index d851b6a7a8d..4fb13effd6c 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index f1098efd4a3..4484c600bdf 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 71d2375855b..edfe7becc32 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 18884789ba1..23028ea36e3 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.php index 9f1eaea2843..b75c1d42d15 100644 --- a/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId(string $eventId): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php index ea31308cddd..0204652e26d 100644 --- a/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class CalendarViewRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class CalendarViewRequestBuilderGetQueryParameters * Instantiates a new CalendarViewRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class CalendarViewRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php index c90afa09fcd..9cc7d053e86 100644 --- a/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * Instantiates a new CalendarViewRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * @param int|null $top Show only the first n items * @return CalendarViewRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { - return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { + return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php index 10ecc41f833..c146bce448e 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 86f8aea4b05..ca2a909fbe0 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index d172705cf09..25bb4730e4c 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.php index 69791b3a7aa..727f8377268 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.php @@ -110,7 +110,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php index c4c795ce854..b597da79aca 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php index 82a73ec1694..616e175e1c3 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php index 3f459a6cb93..67be07dcea6 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 1f8d39a41f4..94415166311 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class InstancesRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index 0d65f2029d6..6f653bb158e 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 7f642f909be..d2330612281 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 9502c9f4ca3..ed2ef669ea7 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 4e2f72ead7a..4181050ccee 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index 7cb5ec8d865..58ac87ef178 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 944290df8ff..e82fee8a3d7 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 5fdd2822e52..b401c03ea72 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index bc84f010abe..2d66a6ef013 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 4be86057cdb..40d391cc496 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 5009d06bbc1..f1047da5df1 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 07a7732ed11..e85292f5611 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index 2ab1206434e..95f0731ed20 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index 3a904fbb04a..dccb3ff9c58 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 820d7bd99ac..b70683dce29 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index d71572fdf55..ac09a31376c 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 43caafa0bcc..c73434f3f21 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 5b0fa3b691a..767d9d19a95 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 13035717614..f49345d2594 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 1f28f319205..de2fd6a9937 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php index 0e7a085e1bb..8598f814057 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php @@ -43,7 +43,7 @@ public function byConversationId(string $conversationId): ConversationItemReques * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -67,12 +67,12 @@ public function get(?ConversationsRequestBuilderGetRequestConfiguration $request } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Use reply thread or reply post to further post to that conversation. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 Find more info here */ public function post(Conversation $body, ?ConversationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?ConversationsRequestBuilderGetRequestCo } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Use reply thread or reply post to further post to that conversation. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetQueryParameters.php index 08346550f67..aa004db1ff5 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class ConversationsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class ConversationsRequestBuilderGetQueryParameters /** * Instantiates a new ConversationsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class ConversationsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetRequestConfiguration.php index 642f4ed5cc2..7c95fad0c61 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Con /** * Instantiates a new ConversationsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Con * @param int|null $top Show only the first n items * @return ConversationsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ConversationsRequestBuilderGetQueryParameters { - return new ConversationsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): ConversationsRequestBuilderGetQueryParameters { + return new ConversationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php index 1b6bcc81201..7ed4daa3440 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -30,7 +30,7 @@ public function threads(): ThreadsRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -43,7 +43,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -54,11 +54,11 @@ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration } /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 Find more info here */ public function get(?ConversationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -87,7 +87,7 @@ public function toDeleteRequestInformation(?ConversationItemRequestBuilderDelete } /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php index f564a792d29..7065f9e0262 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php @@ -5,10 +5,16 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. */ class ConversationItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class ConversationItemRequestBuilderGetQueryParameters /** * Instantiates a new ConversationItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetRequestConfiguration.php index 0f9fcbd2c2c..a9a84b9676f 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Con /** * Instantiates a new ConversationItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return ConversationItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): ConversationItemRequestBuilderGetQueryParameters { - return new ConversationItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): ConversationItemRequestBuilderGetQueryParameters { + return new ConversationItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.php index 7046b911658..19f8bdb9f1a 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilderGetQueryParameters.php index 6378916ad94..77271f20cc9 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilderGetRequestConfiguration.php index 86bf63a283c..346bcbaa458 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php index 5f78c679056..1df210174cd 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 924708b1405..48f3dfe0607 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 7e0985ff73e..9486d58240a 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.php index e3a13e5e532..ee2ab4e7817 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index b6a0c24b567..9da7ed18b49 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index bb0c4eea53d..42bce928999 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.php index e02af943526..9b00b44c3f2 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 5f0c846e1c6..2c355bfdee7 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 4cd74112011..41411aab3d1 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php index da36466f5c2..d4e3e3d0d8d 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 7df66d50568..ca56a915a52 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 73ffcb5652d..58ac8aff204 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php index ae8a95c49d7..9aa23b06415 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index e7d54a53bf3..26ab5522180 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index f30fbc1c7f5..d73531489d3 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.php index c901c281f44..d4a51346cf9 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 446e84caa0a..8f2156150b8 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index b04e5f8fa22..e9a6f72c2b0 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.php index ff9f5f3fffc..85fff8790f9 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 14e827a2634..26e24c3db21 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index a815097044b..d5e326e1ec8 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php index 8d5a1e66223..1ed64874952 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 0cc8a937071..1b09ebe7d64 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index ed083ae4571..24d75ccbf70 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php index 5913c7eb302..d8198585913 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -42,7 +42,7 @@ public function byPostId(string $postId): PostItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index 13a20618e20..dc12ff0d632 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class PostsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class PostsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetRequestConfiguration.php index 55af7880fcb..9ba750e309a 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pos * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return PostsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): PostsRequestBuilderGetQueryParameters { - return new PostsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): PostsRequestBuilderGetQueryParameters { + return new PostsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Events/EventsRequestBuilder.php b/src/Generated/Groups/Item/Events/EventsRequestBuilder.php index 9c2b2ea5af4..de4bb275799 100644 --- a/src/Generated/Groups/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/EventsRequestBuilder.php @@ -51,7 +51,7 @@ public function byEventId(string $eventId): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/EventsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/EventsRequestBuilderGetQueryParameters.php index 3c4a8292ba5..dee48e190cc 100644 --- a/src/Generated/Groups/Item/Events/EventsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/EventsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class EventsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class EventsRequestBuilderGetQueryParameters /** * Instantiates a new EventsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class EventsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Events/EventsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/EventsRequestBuilderGetRequestConfiguration.php index fd2da7bd206..ff77863ee10 100644 --- a/src/Generated/Groups/Item/Events/EventsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/EventsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve * @param int|null $top Show only the first n items * @return EventsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): EventsRequestBuilderGetQueryParameters { - return new EventsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): EventsRequestBuilderGetQueryParameters { + return new EventsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.php index da925bd4027..f416cb39625 100644 --- a/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index fc0f8de076b..0cd1860478b 100644 --- a/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 2598abe3a05..16851cbf28b 100644 --- a/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php index 5183fa7711a..5d07b8dbf15 100644 --- a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.php @@ -110,7 +110,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php index d5f1231710c..9578db47ceb 100644 --- a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class EventItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetRequestConfiguration.php index 2d3a341c1e9..19ffff6965a 100644 --- a/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.php index b527693ceb5..db29c1ef374 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index bb7902a9cc0..2d59413f498 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class InstancesRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index 8d9b8789fce..e269d9e10cc 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 7c896967348..436b9289e8a 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 32e2a43c9d2..fcdf10ca69a 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 94b8d01e918..0fdf9cda9ed 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index 5f423347b0f..14904044c41 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index ba1fa99ac84..f3372f98b56 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index fce3117ba18..da1a8441be9 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index dfa134506b5..4f0bca5626b 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 3cac8bb70a3..e2a02e0336d 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 335b53d5a82..39f33f75c7d 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php index b07aa72df93..39066e4a200 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index 2e767bf4c8b..e9e4eef4f09 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index 398c871d67e..d5a69115194 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 0357899ad1f..bb03e4265d2 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 2e21783c29a..5cd28dc3830 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index e2ef0d2f371..faa8f53e441 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 1d87940f487..fdeb18912c5 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 5268117ee26..bfb240e4b0c 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index df1097c8d70..dc97d032eb2 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Members/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/Members/Ref/RefRequestBuilder.php index 8a2d311c895..3ba48d14318 100644 --- a/src/Generated/Groups/Item/Members/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/Ref/RefRequestBuilder.php @@ -62,7 +62,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat } /** - * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. + * Add a member to a security or Microsoft 365 group. When using the API to add multiple members in one request, you can add up to only 20 members. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -120,7 +120,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio } /** - * Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. + * Add a member to a security or Microsoft 365 group. When using the API to add multiple members in one request, you can add up to only 20 members. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. * @param ReferenceCreate $body The request body * @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Groups/Item/Photo/PhotoRequestBuilder.php index 8d635018c67..f798e425d0c 100644 --- a/src/Generated/Groups/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Groups/Item/Photo/PhotoRequestBuilder.php @@ -30,7 +30,7 @@ public function content(): ContentRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/photo{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/photo{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Photo/PhotoRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Photo/PhotoRequestBuilderGetQueryParameters.php index 18c87868d32..225db7b7995 100644 --- a/src/Generated/Groups/Item/Photo/PhotoRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Photo/PhotoRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class PhotoRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class PhotoRequestBuilderGetQueryParameters /** * Instantiates a new PhotoRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php index a13dbdc91be..aead730f410 100644 --- a/src/Generated/Groups/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pho /** * Instantiates a new PhotoRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return PhotoRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): PhotoRequestBuilderGetQueryParameters { - return new PhotoRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): PhotoRequestBuilderGetQueryParameters { + return new PhotoRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php b/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php index 77357f95bc7..24f9b012dd3 100644 --- a/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php @@ -30,7 +30,7 @@ public function content(): ContentRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/photos/{profilePhoto%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/photos/{profilePhoto%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php index 1c96c60b2a7..a0107df2dac 100644 --- a/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class ProfilePhotoItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class ProfilePhotoItemRequestBuilderGetQueryParameters /** * Instantiates a new ProfilePhotoItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetRequestConfiguration.php index 6d4c766757a..466bec1f8a8 100644 --- a/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pro /** * Instantiates a new ProfilePhotoItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return ProfilePhotoItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): ProfilePhotoItemRequestBuilderGetQueryParameters { - return new ProfilePhotoItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): ProfilePhotoItemRequestBuilderGetQueryParameters { + return new ProfilePhotoItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.php b/src/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.php index 37d8a53f35f..7d6beb40046 100644 --- a/src/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The unique identifier for an entity. Read-only. + * Retrieve a list of profilePhoto objects. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/group-list-photos?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -96,7 +97,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The unique identifier for an entity. Read-only. + * Retrieve a list of profilePhoto objects. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php b/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php index 98e8cae7c6b..a3e511b5ce9 100644 --- a/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php +++ b/src/Generated/Groups/Item/Photos/PhotosRequestBuilder.php @@ -34,7 +34,7 @@ public function byProfilePhotoId(string $profilePhotoId): ProfilePhotoItemReques * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/photos{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/photos{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetQueryParameters.php index b87b314c47c..fa199571102 100644 --- a/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class PhotosRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class PhotosRequestBuilderGetQueryParameters /** * Instantiates a new PhotosRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class PhotosRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetRequestConfiguration.php index b5db80bf90f..d571d32af8f 100644 --- a/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Photos/PhotosRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pho /** * Instantiates a new PhotosRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pho * @param int|null $top Show only the first n items * @return PhotosRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PhotosRequestBuilderGetQueryParameters { - return new PhotosRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): PhotosRequestBuilderGetQueryParameters { + return new PhotosRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php index 2a153541f43..6a4352f1507 100644 --- a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php +++ b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.php @@ -23,7 +23,7 @@ class RefRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -105,7 +105,7 @@ public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfig */ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = '{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24skip,%24top}'; + $requestInfo->urlTemplate = '{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}'; $requestInfo->pathParameters = $this->pathParameters; $requestInfo->httpMethod = HttpMethod::GET; if ($requestConfiguration !== null) { diff --git a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetQueryParameters.php index edcf685bd2a..92853ae0577 100644 --- a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetQueryParameters.php @@ -27,6 +27,12 @@ class RefRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24skip") * @var int|null $skip Skip the first n items @@ -44,13 +50,15 @@ class RefRequestBuilderGetQueryParameters * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?int $skip = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?int $skip = null, ?int $top = null) { $this->count = $count; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->skip = $skip; $this->top = $top; } diff --git a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetRequestConfiguration.php index 0b18510de04..e0a64b3a1a3 100644 --- a/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilderGetRequestConfiguration.php @@ -31,12 +31,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ref * @param bool|null $count Include count of items * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return RefRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?int $skip = null, ?int $top = null): RefRequestBuilderGetQueryParameters { - return new RefRequestBuilderGetQueryParameters($count, $filter, $orderby, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?int $skip = null, ?int $top = null): RefRequestBuilderGetQueryParameters { + return new RefRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $skip, $top); } } diff --git a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php index 813126355cf..749e143ccbf 100644 --- a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php +++ b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php @@ -50,7 +50,7 @@ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectI * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/rejectedSenders{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/rejectedSenders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetQueryParameters.php index 862047f25a6..dd335c85145 100644 --- a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class RejectedSendersRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class RejectedSendersRequestBuilderGetQueryParameters /** * Instantiates a new RejectedSendersRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class RejectedSendersRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetRequestConfiguration.php index a1ff71fba84..7a4120c313d 100644 --- a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Rej /** * Instantiates a new RejectedSendersRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Rej * @param int|null $top Show only the first n items * @return RejectedSendersRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RejectedSendersRequestBuilderGetQueryParameters { - return new RejectedSendersRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): RejectedSendersRequestBuilderGetQueryParameters { + return new RejectedSendersRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php index 54ae89e532c..f4580e885a5 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.php @@ -44,7 +44,7 @@ public function byListItemId(string $listItemId): ListItemItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items{?%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php index 2e20e13d25d..80f52da4de0 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class ItemsRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24count") + * @var bool|null $count Include count of items + */ + public ?bool $count = null; + /** * @QueryParameter("%24expand") * @var array|null $expand Expand related entities @@ -53,6 +59,7 @@ class ItemsRequestBuilderGetQueryParameters /** * Instantiates a new ItemsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -61,7 +68,8 @@ class ItemsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { + $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetRequestConfiguration.php index 4f03a370244..5f1eb558a5b 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilderGetRequestConfiguration.php @@ -28,6 +28,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ite /** * Instantiates a new ItemsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ite * @param int|null $top Show only the first n items * @return ItemsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ItemsRequestBuilderGetQueryParameters { - return new ItemsRequestBuilderGetQueryParameters($expand, $filter, $orderby, $search, $select, $skip, $top); + 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): ItemsRequestBuilderGetQueryParameters { + return new ItemsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php index 6cfcfd6d415..0f7ff549b10 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php @@ -22,7 +22,7 @@ class SchedulingGroupItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php index 2cb8f328640..dd5a168fcd7 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class SchedulingGroupItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class SchedulingGroupItemRequestBuilderGetQueryParameters /** * Instantiates a new SchedulingGroupItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php index b88f554fe7f..82ca879fd78 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sch /** * Instantiates a new SchedulingGroupItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return SchedulingGroupItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): SchedulingGroupItemRequestBuilderGetQueryParameters { - return new SchedulingGroupItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): SchedulingGroupItemRequestBuilderGetQueryParameters { + return new SchedulingGroupItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php index e13b188f4b9..b53e82cc639 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php @@ -43,7 +43,7 @@ public function bySchedulingGroupId(string $schedulingGroupId): SchedulingGroupI * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php index 605830f3e74..2c61a0c8723 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class SchedulingGroupsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class SchedulingGroupsRequestBuilderGetQueryParameters /** * Instantiates a new SchedulingGroupsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class SchedulingGroupsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php index 3b873f046e2..d1ff32ee426 100644 --- a/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sch /** * Instantiates a new SchedulingGroupsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sch * @param int|null $top Show only the first n items * @return SchedulingGroupsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SchedulingGroupsRequestBuilderGetQueryParameters { - return new SchedulingGroupsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): SchedulingGroupsRequestBuilderGetQueryParameters { + return new SchedulingGroupsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php index 55172cfe0a8..fc04b1d2283 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.php @@ -22,7 +22,7 @@ class ShiftItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/shifts/{shift%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/shifts/{shift%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php index bc240e93144..dce84bcc2a5 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class ShiftItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class ShiftItemRequestBuilderGetQueryParameters /** * Instantiates a new ShiftItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php index 2793e0e85b5..a595a121cce 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Shi /** * Instantiates a new ShiftItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return ShiftItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): ShiftItemRequestBuilderGetQueryParameters { - return new ShiftItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): ShiftItemRequestBuilderGetQueryParameters { + return new ShiftItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php index c9dd4f9f7ee..0a982fe38fa 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.php @@ -43,7 +43,7 @@ public function byShiftId(string $shiftId): ShiftItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/shifts{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/shifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php index ab5e71900f7..fc10d0e865b 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class ShiftsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class ShiftsRequestBuilderGetQueryParameters /** * Instantiates a new ShiftsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class ShiftsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php index cfa9b42bbaa..8675897b0e8 100644 --- a/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Shi /** * Instantiates a new ShiftsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Shi * @param int|null $top Show only the first n items * @return ShiftsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ShiftsRequestBuilderGetQueryParameters { - return new ShiftsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): ShiftsRequestBuilderGetQueryParameters { + return new ShiftsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php index bf5fde9c78c..9a3b1b513dc 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php @@ -22,7 +22,7 @@ class TimeOffReasonItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons/{timeOffReason%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons/{timeOffReason%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php index 2c5e9525456..dc726e4ae10 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class TimeOffReasonItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class TimeOffReasonItemRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffReasonItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php index a4bba4c3272..98b91795d8e 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffReasonItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return TimeOffReasonItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): TimeOffReasonItemRequestBuilderGetQueryParameters { - return new TimeOffReasonItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeOffReasonItemRequestBuilderGetQueryParameters { + return new TimeOffReasonItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php index 84259c60bd3..1811634f069 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php @@ -43,7 +43,7 @@ public function byTimeOffReasonId(string $timeOffReasonId): TimeOffReasonItemReq * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php index 0135d6cbfd6..3d60b84407a 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class TimeOffReasonsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class TimeOffReasonsRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffReasonsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class TimeOffReasonsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php index 0b3747b007d..a2df7598a67 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffReasonsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim * @param int|null $top Show only the first n items * @return TimeOffReasonsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimeOffReasonsRequestBuilderGetQueryParameters { - return new TimeOffReasonsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): TimeOffReasonsRequestBuilderGetQueryParameters { + return new TimeOffReasonsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php index 544f0e8229a..70ededb543b 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php @@ -22,7 +22,7 @@ class TimeOffRequestItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php index e8e2681e5b5..a363c137053 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class TimeOffRequestItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class TimeOffRequestItemRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffRequestItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php index af23b13185e..6f7d0c114c9 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffRequestItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return TimeOffRequestItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): TimeOffRequestItemRequestBuilderGetQueryParameters { - return new TimeOffRequestItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeOffRequestItemRequestBuilderGetQueryParameters { + return new TimeOffRequestItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index f6993bfb0b9..be5ad1642b2 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -43,7 +43,7 @@ public function byTimeOffRequestId(string $timeOffRequestId): TimeOffRequestItem * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php index 02e6654e77d..b98bdf4bc0a 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class TimeOffRequestsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class TimeOffRequestsRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffRequestsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class TimeOffRequestsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php index 49ea1c24e75..f8f79872567 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffRequestsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim * @param int|null $top Show only the first n items * @return TimeOffRequestsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimeOffRequestsRequestBuilderGetQueryParameters { - return new TimeOffRequestsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): TimeOffRequestsRequestBuilderGetQueryParameters { + return new TimeOffRequestsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php index c06d715ebab..785822501d9 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php @@ -22,7 +22,7 @@ class TimeOffItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timesOff/{timeOff%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timesOff/{timeOff%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php index dcd75198219..c19daffdcd2 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class TimeOffItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class TimeOffItemRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php index 49daf25b4b3..9ae8255d6d0 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return TimeOffItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): TimeOffItemRequestBuilderGetQueryParameters { - return new TimeOffItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeOffItemRequestBuilderGetQueryParameters { + return new TimeOffItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php index b6788cf775f..b62fa502ab1 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.php @@ -43,7 +43,7 @@ public function byTimeOffId(string $timeOffId): TimeOffItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timesOff{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timesOff{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php index dbc44869a74..635ff55aeb8 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class TimesOffRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class TimesOffRequestBuilderGetQueryParameters /** * Instantiates a new TimesOffRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class TimesOffRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php index 1135ed13134..62015e1ede4 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimesOffRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim * @param int|null $top Show only the first n items * @return TimesOffRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimesOffRequestBuilderGetQueryParameters { - return new TimesOffRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): TimesOffRequestBuilderGetQueryParameters { + return new TimesOffRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index cb2c7facc6c..ed15aa44905 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -38,7 +38,7 @@ public function reply(): ReplyRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php index 73df95ff242..64e1539675a 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class ConversationThreadItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class ConversationThreadItemRequestBuilderGetQueryParameters /** * Instantiates a new ConversationThreadItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetRequestConfiguration.php index 4666749178e..9e9009f21aa 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Con /** * Instantiates a new ConversationThreadItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return ConversationThreadItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): ConversationThreadItemRequestBuilderGetQueryParameters { - return new ConversationThreadItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): ConversationThreadItemRequestBuilderGetQueryParameters { + return new ConversationThreadItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php index e7294f93296..bb69f8428c6 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -60,10 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read-only. Nullable. Supports $expand. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -89,7 +90,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Read-only. Nullable. Supports $expand. + * Retrieve a list of attachment objects attached to a post. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index cd8cc6bcbda..eeecd109918 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read-only. Nullable. Supports $expand. + * Retrieve a list of attachment objects attached to a post. */ class AttachmentsRequestBuilderGetQueryParameters { @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 479fe284e16..fbbdbcf638b 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.php index 4e85258be16..4000ae831ba 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 005fbd9c6ff..ae93f7e4c84 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index c9b16f0bb83..9f9b4757f12 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.php index a724e14ab7c..3a351839029 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index e7f0ff05a2e..54d2b51af74 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 2325ded65dc..b436d5b6e53 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php index 013c003c10f..44b5b2725eb 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(Extension $body, ?ExtensionsRequestBuilderPostRequestConfig } /** - * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 64602af962f..2ce18b32fbc 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionsRequestBuilderGetQueryParameters { @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 89b47da0a80..3023dd71cfb 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php index ec3b421a249..04396934579 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ExtensionItemRequestBuilderDeleteRequestConfiguration $r } /** - * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 Find more info here */ public function get(?ExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -59,11 +60,12 @@ public function get(?ExtensionItemRequestBuilderGetRequestConfiguration $request } /** - * Update the navigation property extensions in groups + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/opentypeextension-update?view=graph-rest-1.0 Find more info here */ public function patch(Extension $body, ?ExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?ExtensionItemRequestBuilderDeleteReq } /** - * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. * @param ExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +115,7 @@ public function toGetRequestInformation(?ExtensionItemRequestBuilderGetRequestCo } /** - * Update the navigation property extensions in groups + * Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. * @param Extension $body The request body * @param ExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php index d1ca528698a..0df0d06f0e1 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. */ class ExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php index 0057e84aa18..b96cf3e3668 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index dd8a344547c..6c98a6b822b 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 1239792da43..f6761181665 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.php index 6e893c7e963..48ec2e33a67 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 7367dfbacdb..7a43685ed5c 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index e9f8a09a9c4..04b8a42ad6b 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.php index 81d2f70759b..378f05b28d0 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetQueryParameters.php index ab9aac33d87..8e4c1f5fa15 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index f08674da995..da9fc63b3d9 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php index 8f2c1089034..dd3b16d34a9 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index fae74a63fda..763efc69336 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 558b3a3a64f..d755f2ff6a5 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php index 1a33ef5dcc3..fcf9f50069b 100644 --- a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilder.php @@ -43,7 +43,7 @@ public function byConversationThreadId(string $conversationThreadId): Conversati * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/threads{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php index 7eabef0f767..1ad1d1a650c 100644 --- a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class ThreadsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class ThreadsRequestBuilderGetQueryParameters /** * Instantiates a new ThreadsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class ThreadsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetRequestConfiguration.php index ae09c536916..14a36e14cdd 100644 --- a/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Groups/Item/Threads/ThreadsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Thr /** * Instantiates a new ThreadsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Thr * @param int|null $top Show only the first n items * @return ThreadsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ThreadsRequestBuilderGetQueryParameters { - return new ThreadsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): ThreadsRequestBuilderGetQueryParameters { + return new ThreadsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilder.php b/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilder.php index c9d4ebef0d2..5cec00d09c6 100644 --- a/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilder.php +++ b/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get includeApplications from identity + * List the applications linked to an authenticationEventsFlow. These are the applications for which the authentication experience defined by the user flow is enabled. * @param IncludeApplicationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/authenticationconditionsapplications-list-includeapplications?view=graph-rest-1.0 Find more info here */ public function get(?IncludeApplicationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?IncludeApplicationsRequestBuilderGetRequestConfiguration $r } /** - * Create new navigation property to includeApplications for identity + * Add or link an application to a user flow, or authenticationEventsFlow. This enables the authentication experience defined by the user flow to be enabled for the application. An application can only be linked to one user flow. * @param AuthenticationConditionApplication $body The request body * @param IncludeApplicationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/authenticationconditionsapplications-post-includeapplications?view=graph-rest-1.0 Find more info here */ public function post(AuthenticationConditionApplication $body, ?IncludeApplicationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(AuthenticationConditionApplication $body, ?IncludeApplicati } /** - * Get includeApplications from identity + * List the applications linked to an authenticationEventsFlow. These are the applications for which the authentication experience defined by the user flow is enabled. * @param IncludeApplicationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?IncludeApplicationsRequestBuilderGetReq } /** - * Create new navigation property to includeApplications for identity + * Add or link an application to a user flow, or authenticationEventsFlow. This enables the authentication experience defined by the user flow to be enabled for the application. An application can only be linked to one user flow. * @param AuthenticationConditionApplication $body The request body * @param IncludeApplicationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilderGetQueryParameters.php b/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilderGetQueryParameters.php index f2a8424a934..b3ca3c3d813 100644 --- a/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get includeApplications from identity + * List the applications linked to an authenticationEventsFlow. These are the applications for which the authentication experience defined by the user flow is enabled. */ class IncludeApplicationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Item/AuthenticationConditionApplicationAppItemRequestBuilder.php b/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Item/AuthenticationConditionApplicationAppItemRequestBuilder.php index 65b72a59066..358027f5b45 100644 --- a/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Item/AuthenticationConditionApplicationAppItemRequestBuilder.php +++ b/src/Generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Item/AuthenticationConditionApplicationAppItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property includeApplications for identity + * Remove or unlink an application from an authenticationEventsFlow object. This disables the customized authentication experience defined for the application. * @param AuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/authenticationconditionapplication-delete?view=graph-rest-1.0 Find more info here */ public function delete(?AuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -74,7 +75,7 @@ public function patch(AuthenticationConditionApplication $body, ?AuthenticationC } /** - * Delete navigation property includeApplications for identity + * Remove or unlink an application from an authenticationEventsFlow object. This disables the customized authentication experience defined for the application. * @param AuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.php index 507aba69d8e..2127bd89cc9 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. + * Read the values in a userFlowLanguagePage object for a language in a user flow. These values are shown to a user during a user journey defined by a user flow. * @param DefaultPagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/userflowlanguagepage-get?view=graph-rest-1.0 Find more info here */ public function get(?DefaultPagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(UserFlowLanguagePage $body, ?DefaultPagesRequestBuilderPost } /** - * Collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. + * Read the values in a userFlowLanguagePage object for a language in a user flow. These values are shown to a user during a user journey defined by a user flow. * @param DefaultPagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilderGetQueryParameters.php index e6fc45a3ab8..1fa21613838 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. + * Read the values in a userFlowLanguagePage object for a language in a user flow. These values are shown to a user during a user journey defined by a user flow. */ class DefaultPagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.php index c531c8ed139..d41fcd693d9 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The unique identifier for an entity. Read-only. + * Read the values in a userFlowLanguagePage object for a language in a user flow. These values are shown to a user during a user journey defined by a user flow. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/userflowlanguagepage-get?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -96,7 +97,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The unique identifier for an entity. Read-only. + * Read the values in a userFlowLanguagePage object for a language in a user flow. These values are shown to a user during a user journey defined by a user flow. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.php index 3732305cd9d..eed597dd7df 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.php @@ -39,10 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property overridesPages for identity + * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param UserFlowLanguagePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/userflowlanguagepage-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserFlowLanguagePageItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -67,11 +68,12 @@ public function get(?UserFlowLanguagePageItemRequestBuilderGetRequestConfigurati } /** - * Update the navigation property overridesPages in identity + * Update the values in an userFlowLanguagePage object. You may only update the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param UserFlowLanguagePage $body The request body * @param UserFlowLanguagePageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/userflowlanguagepage-put?view=graph-rest-1.0 Find more info here */ public function patch(UserFlowLanguagePage $body, ?UserFlowLanguagePageItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -82,7 +84,7 @@ public function patch(UserFlowLanguagePage $body, ?UserFlowLanguagePageItemReque } /** - * Delete navigation property overridesPages for identity + * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param UserFlowLanguagePageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +123,7 @@ public function toGetRequestInformation(?UserFlowLanguagePageItemRequestBuilderG } /** - * Update the navigation property overridesPages in identity + * Update the values in an userFlowLanguagePage object. You may only update the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param UserFlowLanguagePage $body The request body * @param UserFlowLanguagePageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.php index de1214688f7..847bdbff732 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The unique identifier for an entity. Read-only. + * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/userflowlanguagepage-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -45,10 +46,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The unique identifier for an entity. Read-only. + * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,11 +63,12 @@ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfig } /** - * The unique identifier for an entity. Read-only. + * Update the values in an userFlowLanguagePage object. You may only update the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param StreamInterface $body Binary request body * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/userflowlanguagepage-put?view=graph-rest-1.0 Find more info here */ public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -78,7 +81,7 @@ public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfi } /** - * The unique identifier for an entity. Read-only. + * Deletes the values in an userFlowLanguagePage object. You may only delete the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -96,7 +99,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The unique identifier for an entity. Read-only. + * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +117,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur } /** - * The unique identifier for an entity. Read-only. + * Update the values in an userFlowLanguagePage object. You may only update the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow. * @param StreamInterface $body Binary request body * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php index 48bbe3ad353..2f3f2cb1c68 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows you to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). + * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. * @param OverridesPagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0 Find more info here */ public function get(?OverridesPagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(UserFlowLanguagePage $body, ?OverridesPagesRequestBuilderPo } /** - * Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows you to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). + * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. * @param OverridesPagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilderGetQueryParameters.php b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilderGetQueryParameters.php index 4ea453362e0..f7dd36a37cc 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows you to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). + * Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. */ class OverridesPagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index 8a6ae4d1cbf..8d3637033fb 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an ipNamedLocation object. + * Delete a countryNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,11 @@ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 Find more info here */ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatch } /** - * Delete an ipNamedLocation object. + * Delete a countryNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php index 7286eb829a7..a8d1c5b81e0 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. */ class NamedLocationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.php index b5b1bee7cd9..b2fc6a54a17 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. + * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. * @param ContactedReviewersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 Find more info here */ public function get(?ContactedReviewersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(AccessReviewReviewer $body, ?ContactedReviewersRequestBuild } /** - * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. + * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. * @param ContactedReviewersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilderGetQueryParameters.php index 010639b29a5..d63e8d49665 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. + * Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. */ class ContactedReviewersRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.php index 46da1b290cb..184a6ef4b6a 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.php @@ -62,10 +62,11 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-1.0 Find more info here */ public function get(?DecisionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +92,7 @@ public function post(AccessReviewInstanceDecisionItem $body, ?DecisionsRequestBu } /** - * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. * @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php index 34f8243c193..a76ff7e8df1 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. */ class DecisionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php index e852950d2a8..9d0fe04a963 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php @@ -53,10 +53,11 @@ public function delete(?AccessReviewInstanceDecisionItemItemRequestBuilderDelete } /** - * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 Find more info here */ public function get(?AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -100,7 +101,7 @@ public function toDeleteRequestInformation(?AccessReviewInstanceDecisionItemItem } /** - * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php index 277ea8ac087..5783c232afa 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. */ class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.php index 249c34719d2..404bf8d600b 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.php @@ -61,10 +61,11 @@ public function delete(?AccessReviewStageItemRequestBuilderDeleteRequestConfigur } /** - * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. + * Retrieve the properties and relationships of an accessReviewStage object. * @param AccessReviewStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-1.0 Find more info here */ public function get(?AccessReviewStageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -75,11 +76,12 @@ public function get(?AccessReviewStageItemRequestBuilderGetRequestConfiguration } /** - * Update the navigation property stages in identityGovernance + * Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. * @param AccessReviewStage $body The request body * @param AccessReviewStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/accessreviewstage-update?view=graph-rest-1.0 Find more info here */ public function patch(AccessReviewStage $body, ?AccessReviewStageItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -108,7 +110,7 @@ public function toDeleteRequestInformation(?AccessReviewStageItemRequestBuilderD } /** - * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. + * Retrieve the properties and relationships of an accessReviewStage object. * @param AccessReviewStageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +131,7 @@ public function toGetRequestInformation(?AccessReviewStageItemRequestBuilderGetR } /** - * Update the navigation property stages in identityGovernance + * Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. * @param AccessReviewStage $body The request body * @param AccessReviewStageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilderGetQueryParameters.php index cdc480cbf62..48d2c97dbb1 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. + * Retrieve the properties and relationships of an accessReviewStage object. */ class AccessReviewStageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.php index 2239275ccff..80bfaba2de9 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.php @@ -62,10 +62,11 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + * Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. * @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-1.0 Find more info here */ public function get(?DecisionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +92,7 @@ public function post(AccessReviewInstanceDecisionItem $body, ?DecisionsRequestBu } /** - * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + * Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. * @param DecisionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php index 628e3ab23fe..c760394383d 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + * Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. */ class DecisionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php index f2ff374d4a8..3a977540a6f 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.php @@ -53,10 +53,11 @@ public function delete(?AccessReviewInstanceDecisionItemItemRequestBuilderDelete } /** - * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 Find more info here */ public function get(?AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,11 +68,12 @@ public function get(?AccessReviewInstanceDecisionItemItemRequestBuilderGetReques } /** - * Update the navigation property decisions in identityGovernance + * Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. * @param AccessReviewInstanceDecisionItem $body The request body * @param AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-1.0 Find more info here */ public function patch(AccessReviewInstanceDecisionItem $body, ?AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -100,7 +102,7 @@ public function toDeleteRequestInformation(?AccessReviewInstanceDecisionItemItem } /** - * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. * @param AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -121,7 +123,7 @@ public function toGetRequestInformation(?AccessReviewInstanceDecisionItemItemReq } /** - * Update the navigation property decisions in identityGovernance + * Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. * @param AccessReviewInstanceDecisionItem $body The request body * @param AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php index dd18290fef6..6fc5bcd56a6 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + * Read the properties and relationships of an accessReviewInstanceDecisionItem object. */ class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.php index bf9de6c557c..04ca9468633 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.php @@ -62,10 +62,11 @@ public function filterByCurrentUserWithOn(string $on): FilterByCurrentUserWithOn } /** - * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. + * Retrieve the stages in a multi-stage access review instance. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-1.0 Find more info here */ public function get(?StagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -91,7 +92,7 @@ public function post(AccessReviewStage $body, ?StagesRequestBuilderPostRequestCo } /** - * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. + * Retrieve the stages in a multi-stage access review instance. * @param StagesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilderGetQueryParameters.php index d5f9ab52b57..bb52536576e 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. + * Retrieve the stages in a multi-stage access review instance. */ class StagesRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index 6bb138e77b9..3ba70d05b9c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 Find more info here */ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfigura } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 Find more info here */ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -77,7 +77,7 @@ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemR } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?CustomCalloutExtensionItemRequestBuilde } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index cff1cf26b10..3b9a98e3412 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,10 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The related taskProcessingResults. + * Get the taskProcessingResult resources for a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/identitygovernance-run-list-taskprocessingresults?view=graph-rest-1.0 Find more info here */ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -65,7 +66,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * The related taskProcessingResults. + * Get the taskProcessingResult resources for a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 8ae1131bbf6..46ad09fcd3a 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The related taskProcessingResults. + * Get the taskProcessingResult resources for a run. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 4c417129d81..a99979ea672 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,10 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The associated individual task execution. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 Find more info here */ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -65,7 +66,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * The associated individual task execution. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 28e94835a48..ee555345028 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The associated individual task execution. + * Get the task processing result from a userProcessingResult either directly or through a run. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php index f2dcdc85e52..10d659f5ae4 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.php @@ -47,10 +47,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The associated individual user execution. + * Get the user processing result of a user processing result of a run. * @param UserProcessingResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-get?view=graph-rest-1.0 Find more info here */ public function get(?UserProcessingResultItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,7 +62,7 @@ public function get(?UserProcessingResultItemRequestBuilderGetRequestConfigurati } /** - * The associated individual user execution. + * Get the user processing result of a user processing result of a run. * @param UserProcessingResultItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php index 05f84007523..ffe8470a5ea 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The associated individual user execution. + * Get the user processing result of a user processing result of a run. */ class UserProcessingResultItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php index 22665a899b8..dbd0855443d 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.php @@ -53,10 +53,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The associated individual user execution. + * Get user processing results of a workflow run object. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/identitygovernance-run-list-userprocessingresults?view=graph-rest-1.0 Find more info here */ public function get(?UserProcessingResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -77,7 +78,7 @@ public function microsoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndD } /** - * The associated individual user execution. + * Get user processing results of a workflow run object. * @param UserProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php index 9937754f78c..ee8f04463c1 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The associated individual user execution. + * Get user processing results of a workflow run object. */ class UserProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index 24bd51ac669..48f03132dc8 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -37,7 +37,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invoke function summary + * Get a summary of runs for a specified time period. Because the amount of runs returned by the List API call can be overwhelming, this summary allows the administrator to get a quick overview based on counts. * @param MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -51,7 +51,7 @@ public function get(?MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWit } /** - * Invoke function summary + * Get a summary of runs for a specified time period. Because the amount of runs returned by the List API call can be overwhelming, this summary allows the administrator to get a quick overview based on counts. * @param MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index 167a84ebe41..d2c71ad6388 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,10 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The related lifecycle workflow taskProcessingResults. + * Get the task processing result resources from the taskReport. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/identitygovernance-taskreport-list-taskprocessingresults?view=graph-rest-1.0 Find more info here */ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -65,7 +66,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * The related lifecycle workflow taskProcessingResults. + * Get the task processing result resources from the taskReport. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index 443baa8fbd0..d74a8a442d5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The related lifecycle workflow taskProcessingResults. + * Get the task processing result resources from the taskReport. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php index d4b85722c58..dc8142d9a1a 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -37,7 +37,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invoke function summary + * Get a taskReportSummary object. This API provides a summary of task processing results for a specified time period. Because the volume of task processing results and task reports returned by the List API calls can be overwhelming, this summary allows the administrator to get a quick overview based on counts. * @param MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -51,7 +51,7 @@ public function get(?MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWit } /** - * Invoke function summary + * Get a taskReportSummary object. This API provides a summary of task processing results for a specified time period. Because the volume of task processing results and task reports returned by the List API calls can be overwhelming, this summary allows the administrator to get a quick overview based on counts. * @param MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php index dfde7ed0e6e..851e006b7bf 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.php @@ -51,10 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The associated individual task execution. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 Find more info here */ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -65,7 +66,7 @@ public function get(?TaskProcessingResultsRequestBuilderGetRequestConfiguration } /** - * The associated individual task execution. + * Get the task processing result from a userProcessingResult either directly or through a run. * @param TaskProcessingResultsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php index d53ea209eca..823ba61d3a6 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The associated individual task execution. + * Get the task processing result from a userProcessingResult either directly or through a run. */ class TaskProcessingResultsRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php index f58a1ad1d0b..b30dc89653b 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.php @@ -53,10 +53,11 @@ public function delete(?TaskItemRequestBuilderDeleteRequestConfiguration $reques } /** - * The tasks in the workflow. + * Get a specific task from a workflow or workflowVersion. * @param TaskItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/identitygovernance-task-get?view=graph-rest-1.0 Find more info here */ public function get(?TaskItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -100,7 +101,7 @@ public function toDeleteRequestInformation(?TaskItemRequestBuilderDeleteRequestC } /** - * The tasks in the workflow. + * Get a specific task from a workflow or workflowVersion. * @param TaskItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilderGetQueryParameters.php index 30d28ad0191..bb46d152af5 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The tasks in the workflow. + * Get a specific task from a workflow or workflowVersion. */ class TaskItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php index 786bebeaeb3..66846e74b85 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The tasks in the workflow. + * Get a list of task objects in a workflowVersion. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/identitygovernance-workflowversion-list-tasks?view=graph-rest-1.0 Find more info here */ public function get(?TasksRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(Task $body, ?TasksRequestBuilderPostRequestConfiguration $r } /** - * The tasks in the workflow. + * Get a list of task objects in a workflowVersion. * @param TasksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilderGetQueryParameters.php index 7e8227e3f9e..5280728dd4e 100644 --- a/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The tasks in the workflow. + * Get a list of task objects in a workflowVersion. */ class TasksRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php index 4e607afdbae..943430a02e7 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php @@ -70,11 +70,11 @@ public function delete(?AgreementItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 Find more info here */ public function get(?AgreementItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?AgreementItemRequestBuilderDeleteReq } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php index 3ba58bfc831..c02c9925684 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. */ class AgreementItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php index 0a8f4f62cd1..a58c5d11121 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Read the properties and relationships of a riskyUserHistoryItem object. + * Get the riskyUserHistoryItems from the history navigation property. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/riskyuser-get-riskyuserhistoryitem?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/riskyuser-list-history?view=graph-rest-1.0 Find more info here */ public function get(?HistoryRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(RiskyUserHistoryItem $body, ?HistoryRequestBuilderPostReque } /** - * Read the properties and relationships of a riskyUserHistoryItem object. + * Get the riskyUserHistoryItems from the history navigation property. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php index 0e66ef77699..b611b50e0bb 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a riskyUserHistoryItem object. + * Get the riskyUserHistoryItems from the history navigation property. */ class HistoryRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/AuthenticationConditionApplication.php b/src/Generated/Models/AuthenticationConditionApplication.php index d61b5f7a03e..4704607255d 100644 --- a/src/Generated/Models/AuthenticationConditionApplication.php +++ b/src/Generated/Models/AuthenticationConditionApplication.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the appId property value. The identifier for an application corresponding to a condition that triggers an authenticationEventListener. + * Gets the appId property value. The identifier for an application corresponding to a condition which will trigger an authenticationEventListener. * @return string|null */ public function getAppId(): ?string { @@ -110,7 +110,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the appId property value. The identifier for an application corresponding to a condition that triggers an authenticationEventListener. + * Sets the appId property value. The identifier for an application corresponding to a condition which will trigger an authenticationEventListener. * @param string|null $value Value to set for the appId property. */ public function setAppId(?string $value): void { diff --git a/src/Generated/Models/CallRecords/CallRecord.php b/src/Generated/Models/CallRecords/CallRecord.php index a95b2fab266..5b3774b71b1 100644 --- a/src/Generated/Models/CallRecords/CallRecord.php +++ b/src/Generated/Models/CallRecords/CallRecord.php @@ -52,7 +52,9 @@ public function getFieldDeserializers(): array { 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), 'modalities' => fn(ParseNode $n) => $o->setModalities($n->getCollectionOfEnumValues(Modality::class)), 'organizer' => fn(ParseNode $n) => $o->setOrganizer($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), + 'organizer_v2' => fn(ParseNode $n) => $o->setOrganizerV2($n->getObjectValue([Organizer::class, 'createFromDiscriminatorValue'])), 'participants' => fn(ParseNode $n) => $o->setParticipants($n->getCollectionOfObjectValues([IdentitySet::class, 'createFromDiscriminatorValue'])), + 'participants_v2' => fn(ParseNode $n) => $o->setParticipantsV2($n->getCollectionOfObjectValues([Participant::class, 'createFromDiscriminatorValue'])), 'sessions' => fn(ParseNode $n) => $o->setSessions($n->getCollectionOfObjectValues([Session::class, 'createFromDiscriminatorValue'])), 'startDateTime' => fn(ParseNode $n) => $o->setStartDateTime($n->getDateTimeValue()), 'type' => fn(ParseNode $n) => $o->setType($n->getEnumValue(CallType::class)), @@ -99,7 +101,7 @@ public function getModalities(): ?array { } /** - * Gets the organizer property value. The organizing party's identity. + * Gets the organizer property value. The organizing party's identity. The organizer property is deprecated and will stop returning data on June 30, 2026. Going forward, use the organizer_v2 relationship. * @return IdentitySet|null */ public function getOrganizer(): ?IdentitySet { @@ -111,7 +113,19 @@ public function getOrganizer(): ?IdentitySet { } /** - * Gets the participants property value. List of distinct identities involved in the call. + * Gets the organizer_v2 property value. Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. + * @return Organizer|null + */ + public function getOrganizerV2(): ?Organizer { + $val = $this->getBackingStore()->get('organizer_v2'); + if (is_null($val) || $val instanceof Organizer) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'organizer_v2'"); + } + + /** + * Gets the participants property value. List of distinct identities involved in the call. Limited to 130 entries. The participants property is deprecated and will stop returning data on June 30, 2026. Going forward, use the participants_v2 relationship. * @return array|null */ public function getParticipants(): ?array { @@ -124,6 +138,20 @@ public function getParticipants(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'participants'"); } + /** + * Gets the participants_v2 property value. List of distinct participants in the call. + * @return array|null + */ + public function getParticipantsV2(): ?array { + $val = $this->getBackingStore()->get('participants_v2'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Participant::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'participants_v2'"); + } + /** * Gets the sessions property value. List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. * @return array|null @@ -185,7 +213,9 @@ public function serialize(SerializationWriter $writer): void { $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); $writer->writeCollectionOfEnumValues('modalities', $this->getModalities()); $writer->writeObjectValue('organizer', $this->getOrganizer()); + $writer->writeObjectValue('organizer_v2', $this->getOrganizerV2()); $writer->writeCollectionOfObjectValues('participants', $this->getParticipants()); + $writer->writeCollectionOfObjectValues('participants_v2', $this->getParticipantsV2()); $writer->writeCollectionOfObjectValues('sessions', $this->getSessions()); $writer->writeDateTimeValue('startDateTime', $this->getStartDateTime()); $writer->writeEnumValue('type', $this->getType()); @@ -225,7 +255,7 @@ public function setModalities(?array $value): void { } /** - * Sets the organizer property value. The organizing party's identity. + * Sets the organizer property value. The organizing party's identity. The organizer property is deprecated and will stop returning data on June 30, 2026. Going forward, use the organizer_v2 relationship. * @param IdentitySet|null $value Value to set for the organizer property. */ public function setOrganizer(?IdentitySet $value): void { @@ -233,13 +263,29 @@ public function setOrganizer(?IdentitySet $value): void { } /** - * Sets the participants property value. List of distinct identities involved in the call. + * Sets the organizer_v2 property value. Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. + * @param Organizer|null $value Value to set for the organizer_v2 property. + */ + public function setOrganizerV2(?Organizer $value): void { + $this->getBackingStore()->set('organizer_v2', $value); + } + + /** + * Sets the participants property value. List of distinct identities involved in the call. Limited to 130 entries. The participants property is deprecated and will stop returning data on June 30, 2026. Going forward, use the participants_v2 relationship. * @param array|null $value Value to set for the participants property. */ public function setParticipants(?array $value): void { $this->getBackingStore()->set('participants', $value); } + /** + * Sets the participants_v2 property value. List of distinct participants in the call. + * @param array|null $value Value to set for the participants_v2 property. + */ + public function setParticipantsV2(?array $value): void { + $this->getBackingStore()->set('participants_v2', $value); + } + /** * Sets the sessions property value. List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. * @param array|null $value Value to set for the sessions property. diff --git a/src/Generated/Models/CallRecords/Organizer.php b/src/Generated/Models/CallRecords/Organizer.php new file mode 100644 index 00000000000..de6985962b7 --- /dev/null +++ b/src/Generated/Models/CallRecords/Organizer.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.callRecords.organizer'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Organizer + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Organizer { + return new Organizer(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/CallRecords/Participant.php b/src/Generated/Models/CallRecords/Participant.php new file mode 100644 index 00000000000..531f54b34c3 --- /dev/null +++ b/src/Generated/Models/CallRecords/Participant.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.callRecords.participant'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Participant + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Participant { + return new Participant(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/CallRecords/ParticipantBase.php b/src/Generated/Models/CallRecords/ParticipantBase.php new file mode 100644 index 00000000000..becdc85e87a --- /dev/null +++ b/src/Generated/Models/CallRecords/ParticipantBase.php @@ -0,0 +1,77 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.callRecords.organizer': return new Organizer(); + case '#microsoft.graph.callRecords.participant': return new Participant(); + } + } + return new ParticipantBase(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'identity' => fn(ParseNode $n) => $o->setIdentity($n->getObjectValue([CommunicationsIdentitySet::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the identity property value. The identity of the call participant. + * @return CommunicationsIdentitySet|null + */ + public function getIdentity(): ?CommunicationsIdentitySet { + $val = $this->getBackingStore()->get('identity'); + if (is_null($val) || $val instanceof CommunicationsIdentitySet) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'identity'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('identity', $this->getIdentity()); + } + + /** + * Sets the identity property value. The identity of the call participant. + * @param CommunicationsIdentitySet|null $value Value to set for the identity property. + */ + public function setIdentity(?CommunicationsIdentitySet $value): void { + $this->getBackingStore()->set('identity', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/ParticipantCollectionResponse.php b/src/Generated/Models/CallRecords/ParticipantCollectionResponse.php new file mode 100644 index 00000000000..52f2fd878d9 --- /dev/null +++ b/src/Generated/Models/CallRecords/ParticipantCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Participant::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Participant::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/ParticipantEndpoint.php b/src/Generated/Models/CallRecords/ParticipantEndpoint.php index 5faae552403..2be9420b381 100644 --- a/src/Generated/Models/CallRecords/ParticipantEndpoint.php +++ b/src/Generated/Models/CallRecords/ParticipantEndpoint.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Generated\Models\CallRecords; +use Microsoft\Graph\Generated\Models\Identity; use Microsoft\Graph\Generated\Models\IdentitySet; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -26,6 +27,18 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Parti return new ParticipantEndpoint(); } + /** + * Gets the associatedIdentity property value. Identity associated with the endpoint. + * @return Identity|null + */ + public function getAssociatedIdentity(): ?Identity { + $val = $this->getBackingStore()->get('associatedIdentity'); + if (is_null($val) || $val instanceof Identity) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'associatedIdentity'"); + } + /** * Gets the cpuCoresCount property value. CPU number of cores used by the media endpoint. * @return int|null @@ -81,6 +94,7 @@ public function getFeedback(): ?UserFeedback { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'associatedIdentity' => fn(ParseNode $n) => $o->setAssociatedIdentity($n->getObjectValue([Identity::class, 'createFromDiscriminatorValue'])), 'cpuCoresCount' => fn(ParseNode $n) => $o->setCpuCoresCount($n->getIntegerValue()), 'cpuName' => fn(ParseNode $n) => $o->setCpuName($n->getStringValue()), 'cpuProcessorSpeedInMhz' => fn(ParseNode $n) => $o->setCpuProcessorSpeedInMhz($n->getIntegerValue()), @@ -91,7 +105,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the identity property value. Identity associated with the endpoint. + * Gets the identity property value. Identity associated with the endpoint. The identity property is deprecated and will stop returning data on June 30, 2026. Going forward, use the associatedIdentity property. * @return IdentitySet|null */ public function getIdentity(): ?IdentitySet { @@ -120,6 +134,7 @@ public function getName(): ?string { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeObjectValue('associatedIdentity', $this->getAssociatedIdentity()); $writer->writeIntegerValue('cpuCoresCount', $this->getCpuCoresCount()); $writer->writeStringValue('cpuName', $this->getCpuName()); $writer->writeIntegerValue('cpuProcessorSpeedInMhz', $this->getCpuProcessorSpeedInMhz()); @@ -128,6 +143,14 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('name', $this->getName()); } + /** + * Sets the associatedIdentity property value. Identity associated with the endpoint. + * @param Identity|null $value Value to set for the associatedIdentity property. + */ + public function setAssociatedIdentity(?Identity $value): void { + $this->getBackingStore()->set('associatedIdentity', $value); + } + /** * Sets the cpuCoresCount property value. CPU number of cores used by the media endpoint. * @param int|null $value Value to set for the cpuCoresCount property. @@ -161,7 +184,7 @@ public function setFeedback(?UserFeedback $value): void { } /** - * Sets the identity property value. Identity associated with the endpoint. + * Sets the identity property value. Identity associated with the endpoint. The identity property is deprecated and will stop returning data on June 30, 2026. Going forward, use the associatedIdentity property. * @param IdentitySet|null $value Value to set for the identity property. */ public function setIdentity(?IdentitySet $value): void { diff --git a/src/Generated/Models/CallRecords/UserIdentity.php b/src/Generated/Models/CallRecords/UserIdentity.php new file mode 100644 index 00000000000..957941c9319 --- /dev/null +++ b/src/Generated/Models/CallRecords/UserIdentity.php @@ -0,0 +1,69 @@ +setOdataType('#microsoft.graph.callRecords.userIdentity'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserIdentity + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserIdentity { + return new UserIdentity(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'userPrincipalName' => fn(ParseNode $n) => $o->setUserPrincipalName($n->getStringValue()), + ]); + } + + /** + * Gets the userPrincipalName property value. The userPrincipalName property + * @return string|null + */ + public function getUserPrincipalName(): ?string { + $val = $this->getBackingStore()->get('userPrincipalName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userPrincipalName'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('userPrincipalName', $this->getUserPrincipalName()); + } + + /** + * Sets the userPrincipalName property value. The userPrincipalName property + * @param string|null $value Value to set for the userPrincipalName property. + */ + public function setUserPrincipalName(?string $value): void { + $this->getBackingStore()->set('userPrincipalName', $value); + } + +} diff --git a/src/Generated/Models/Contact.php b/src/Generated/Models/Contact.php index bd812b75a1c..60f9b86d709 100644 --- a/src/Generated/Models/Contact.php +++ b/src/Generated/Models/Contact.php @@ -255,7 +255,7 @@ public function getFileAs(): ?string { } /** - * Gets the generation property value. The contact's generation. + * Gets the generation property value. The contact's suffix. * @return string|null */ public function getGeneration(): ?string { @@ -704,7 +704,7 @@ public function setFileAs(?string $value): void { } /** - * Sets the generation property value. The contact's generation. + * Sets the generation property value. The contact's suffix. * @param string|null $value Value to set for the generation property. */ public function setGeneration(?string $value): void { diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 78d4de8194e..b9061137ff3 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -3,6 +3,9 @@ namespace Microsoft\Graph\Generated\Models; use Microsoft\Graph\Generated\Models\CallRecords\CallRecord; +use Microsoft\Graph\Generated\Models\CallRecords\Organizer; +use Microsoft\Graph\Generated\Models\CallRecords\Participant; +use Microsoft\Graph\Generated\Models\CallRecords\ParticipantBase; use Microsoft\Graph\Generated\Models\CallRecords\Segment; use Microsoft\Graph\Generated\Models\CallRecords\Session; use Microsoft\Graph\Generated\Models\ExternalConnectors\ConnectionOperation; @@ -270,6 +273,9 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.call': return new Call(); case '#microsoft.graph.callRecording': return new CallRecording(); case '#microsoft.graph.callRecords.callRecord': return new CallRecord(); + case '#microsoft.graph.callRecords.organizer': return new Organizer(); + case '#microsoft.graph.callRecords.participant': return new Participant(); + case '#microsoft.graph.callRecords.participantBase': return new ParticipantBase(); case '#microsoft.graph.callRecords.segment': return new Segment(); case '#microsoft.graph.callRecords.session': return new Session(); case '#microsoft.graph.callTranscript': return new CallTranscript(); @@ -985,6 +991,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.windows81CompliancePolicy': return new Windows81CompliancePolicy(); case '#microsoft.graph.windows81GeneralConfiguration': return new Windows81GeneralConfiguration(); case '#microsoft.graph.windowsAppX': return new WindowsAppX(); + case '#microsoft.graph.windowsAutopilotDeploymentProfile': return new WindowsAutopilotDeploymentProfile(); + case '#microsoft.graph.windowsAutopilotDeploymentProfileAssignment': return new WindowsAutopilotDeploymentProfileAssignment(); case '#microsoft.graph.windowsAutopilotDeviceIdentity': return new WindowsAutopilotDeviceIdentity(); case '#microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration': return new WindowsDefenderAdvancedThreatProtectionConfiguration(); case '#microsoft.graph.windowsDeviceMalwareState': return new WindowsDeviceMalwareState(); diff --git a/src/Generated/Models/ExternalConnectors/DisplayTemplate.php b/src/Generated/Models/ExternalConnectors/DisplayTemplate.php index 8953918732c..eeffddca553 100644 --- a/src/Generated/Models/ExternalConnectors/DisplayTemplate.php +++ b/src/Generated/Models/ExternalConnectors/DisplayTemplate.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Models\ExternalConnectors; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -65,7 +64,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'id' => fn(ParseNode $n) => $o->setId($n->getStringValue()), - 'layout' => fn(ParseNode $n) => $o->setLayout($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'priority' => fn(ParseNode $n) => $o->setPriority($n->getIntegerValue()), 'rules' => fn(ParseNode $n) => $o->setRules($n->getCollectionOfObjectValues([PropertyRule::class, 'createFromDiscriminatorValue'])), @@ -84,18 +82,6 @@ public function getId(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'id'"); } - /** - * Gets the layout property value. The layout property - * @return Json|null - */ - public function getLayout(): ?Json { - $val = $this->getBackingStore()->get('layout'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'layout'"); - } - /** * Gets the @odata.type property value. The OdataType property * @return string|null @@ -140,7 +126,6 @@ public function getRules(): ?array { */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('id', $this->getId()); - $writer->writeObjectValue('layout', $this->getLayout()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeIntegerValue('priority', $this->getPriority()); $writer->writeCollectionOfObjectValues('rules', $this->getRules()); @@ -171,14 +156,6 @@ public function setId(?string $value): void { $this->getBackingStore()->set('id', $value); } - /** - * Sets the layout property value. The layout property - * @param Json|null $value Value to set for the layout property. - */ - public function setLayout(?Json $value): void { - $this->getBackingStore()->set('layout', $value); - } - /** * Sets the @odata.type property value. The OdataType property * @param string|null $value Value to set for the @odata.type property. diff --git a/src/Generated/Models/Identity.php b/src/Generated/Models/Identity.php index 785d2390e17..6166a3368b7 100644 --- a/src/Generated/Models/Identity.php +++ b/src/Generated/Models/Identity.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Generated\Models; +use Microsoft\Graph\Generated\Models\CallRecords\UserIdentity; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -36,6 +37,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Ident $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { case '#microsoft.graph.azureCommunicationServicesUserIdentity': return new AzureCommunicationServicesUserIdentity(); + case '#microsoft.graph.callRecords.userIdentity': return new UserIdentity(); case '#microsoft.graph.communicationsApplicationIdentity': return new CommunicationsApplicationIdentity(); case '#microsoft.graph.communicationsApplicationInstanceIdentity': return new CommunicationsApplicationInstanceIdentity(); case '#microsoft.graph.communicationsEncryptedIdentity': return new CommunicationsEncryptedIdentity(); @@ -81,7 +83,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the displayName property value. The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + * Gets the displayName property value. The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as having changed when using delta. * @return string|null */ public function getDisplayName(): ?string { @@ -106,7 +108,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the id property value. Unique identifier for the identity. + * Gets the id property value. Unique identifier for the identity. When the unique identifier is unavailable, the displayName property is provided for the identity, but the id property isn't included in the response. * @return string|null */ public function getId(): ?string { @@ -157,7 +159,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the displayName property value. The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + * Sets the displayName property value. The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as having changed when using delta. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -165,7 +167,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the id property value. Unique identifier for the identity. + * Sets the id property value. Unique identifier for the identity. When the unique identifier is unavailable, the displayName property is provided for the identity, but the id property isn't included in the response. * @param string|null $value Value to set for the id property. */ public function setId(?string $value): void { diff --git a/src/Generated/Models/Json.php b/src/Generated/Models/Json.php deleted file mode 100644 index 5244752fdea..00000000000 --- a/src/Generated/Models/Json.php +++ /dev/null @@ -1,114 +0,0 @@ -backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Json - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Json { - return new Json(); - } - - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - ]; - } - - /** - * Gets the @odata.type property value. The OdataType property - * @return string|null - */ - public function getOdataType(): ?string { - $val = $this->getBackingStore()->get('odataType'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; - } - - /** - * Sets the @odata.type property value. The OdataType property - * @param string|null $value Value to set for the @odata.type property. - */ - public function setOdataType(?string $value): void { - $this->getBackingStore()->set('odataType', $value); - } - -} diff --git a/src/Generated/Models/ManagedAppStatusRaw.php b/src/Generated/Models/ManagedAppStatusRaw.php index c9bca25993e..1a78b312200 100644 --- a/src/Generated/Models/ManagedAppStatusRaw.php +++ b/src/Generated/Models/ManagedAppStatusRaw.php @@ -28,18 +28,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Manag return new ManagedAppStatusRaw(); } - /** - * Gets the content property value. Status report content. - * @return Json|null - */ - public function getContent(): ?Json { - $val = $this->getBackingStore()->get('content'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'content'"); - } - /** * The deserialization information for the current model * @return array @@ -47,7 +35,6 @@ public function getContent(): ?Json { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'content' => fn(ParseNode $n) => $o->setContent($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]); } @@ -57,15 +44,6 @@ public function getFieldDeserializers(): array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeObjectValue('content', $this->getContent()); - } - - /** - * Sets the content property value. Status report content. - * @param Json|null $value Value to set for the content property. - */ - public function setContent(?Json $value): void { - $this->getBackingStore()->set('content', $value); } } diff --git a/src/Generated/Models/OutOfBoxExperienceSetting.php b/src/Generated/Models/OutOfBoxExperienceSetting.php new file mode 100644 index 00000000000..6b83aa35e4e --- /dev/null +++ b/src/Generated/Models/OutOfBoxExperienceSetting.php @@ -0,0 +1,249 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return OutOfBoxExperienceSetting + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OutOfBoxExperienceSetting { + return new OutOfBoxExperienceSetting(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the deviceUsageType property value. The deviceUsageType property + * @return WindowsDeviceUsageType|null + */ + public function getDeviceUsageType(): ?WindowsDeviceUsageType { + $val = $this->getBackingStore()->get('deviceUsageType'); + if (is_null($val) || $val instanceof WindowsDeviceUsageType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceUsageType'"); + } + + /** + * Gets the escapeLinkHidden property value. When TRUE, the link that allows user to start over with a different account on company sign-in is hidden. When false, the link that allows user to start over with a different account on company sign-in is available. Default value is FALSE. + * @return bool|null + */ + public function getEscapeLinkHidden(): ?bool { + $val = $this->getBackingStore()->get('escapeLinkHidden'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'escapeLinkHidden'"); + } + + /** + * Gets the eulaHidden property value. When TRUE, EULA is hidden to the end user during OOBE. When FALSE, EULA is shown to the end user during OOBE. Default value is FALSE. + * @return bool|null + */ + public function getEulaHidden(): ?bool { + $val = $this->getBackingStore()->get('eulaHidden'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'eulaHidden'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'deviceUsageType' => fn(ParseNode $n) => $o->setDeviceUsageType($n->getEnumValue(WindowsDeviceUsageType::class)), + 'escapeLinkHidden' => fn(ParseNode $n) => $o->setEscapeLinkHidden($n->getBooleanValue()), + 'eulaHidden' => fn(ParseNode $n) => $o->setEulaHidden($n->getBooleanValue()), + 'keyboardSelectionPageSkipped' => fn(ParseNode $n) => $o->setKeyboardSelectionPageSkipped($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'privacySettingsHidden' => fn(ParseNode $n) => $o->setPrivacySettingsHidden($n->getBooleanValue()), + 'userType' => fn(ParseNode $n) => $o->setUserType($n->getEnumValue(WindowsUserType::class)), + ]; + } + + /** + * Gets the keyboardSelectionPageSkipped property value. When TRUE, the keyboard selection page is hidden to the end user during OOBE if Language and Region are set. When FALSE, the keyboard selection page is skipped during OOBE. + * @return bool|null + */ + public function getKeyboardSelectionPageSkipped(): ?bool { + $val = $this->getBackingStore()->get('keyboardSelectionPageSkipped'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'keyboardSelectionPageSkipped'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the privacySettingsHidden property value. When TRUE, privacy settings is hidden to the end user during OOBE. When FALSE, privacy settings is shown to the end user during OOBE. Default value is FALSE. + * @return bool|null + */ + public function getPrivacySettingsHidden(): ?bool { + $val = $this->getBackingStore()->get('privacySettingsHidden'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'privacySettingsHidden'"); + } + + /** + * Gets the userType property value. The userType property + * @return WindowsUserType|null + */ + public function getUserType(): ?WindowsUserType { + $val = $this->getBackingStore()->get('userType'); + if (is_null($val) || $val instanceof WindowsUserType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('deviceUsageType', $this->getDeviceUsageType()); + $writer->writeBooleanValue('escapeLinkHidden', $this->getEscapeLinkHidden()); + $writer->writeBooleanValue('eulaHidden', $this->getEulaHidden()); + $writer->writeBooleanValue('keyboardSelectionPageSkipped', $this->getKeyboardSelectionPageSkipped()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeBooleanValue('privacySettingsHidden', $this->getPrivacySettingsHidden()); + $writer->writeEnumValue('userType', $this->getUserType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the deviceUsageType property value. The deviceUsageType property + * @param WindowsDeviceUsageType|null $value Value to set for the deviceUsageType property. + */ + public function setDeviceUsageType(?WindowsDeviceUsageType $value): void { + $this->getBackingStore()->set('deviceUsageType', $value); + } + + /** + * Sets the escapeLinkHidden property value. When TRUE, the link that allows user to start over with a different account on company sign-in is hidden. When false, the link that allows user to start over with a different account on company sign-in is available. Default value is FALSE. + * @param bool|null $value Value to set for the escapeLinkHidden property. + */ + public function setEscapeLinkHidden(?bool $value): void { + $this->getBackingStore()->set('escapeLinkHidden', $value); + } + + /** + * Sets the eulaHidden property value. When TRUE, EULA is hidden to the end user during OOBE. When FALSE, EULA is shown to the end user during OOBE. Default value is FALSE. + * @param bool|null $value Value to set for the eulaHidden property. + */ + public function setEulaHidden(?bool $value): void { + $this->getBackingStore()->set('eulaHidden', $value); + } + + /** + * Sets the keyboardSelectionPageSkipped property value. When TRUE, the keyboard selection page is hidden to the end user during OOBE if Language and Region are set. When FALSE, the keyboard selection page is skipped during OOBE. + * @param bool|null $value Value to set for the keyboardSelectionPageSkipped property. + */ + public function setKeyboardSelectionPageSkipped(?bool $value): void { + $this->getBackingStore()->set('keyboardSelectionPageSkipped', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the privacySettingsHidden property value. When TRUE, privacy settings is hidden to the end user during OOBE. When FALSE, privacy settings is shown to the end user during OOBE. Default value is FALSE. + * @param bool|null $value Value to set for the privacySettingsHidden property. + */ + public function setPrivacySettingsHidden(?bool $value): void { + $this->getBackingStore()->set('privacySettingsHidden', $value); + } + + /** + * Sets the userType property value. The userType property + * @param WindowsUserType|null $value Value to set for the userType property. + */ + public function setUserType(?WindowsUserType $value): void { + $this->getBackingStore()->set('userType', $value); + } + +} diff --git a/src/Generated/Models/SiteArchivalDetails.php b/src/Generated/Models/SiteArchivalDetails.php index 3ed8713f69c..88ee802db65 100644 --- a/src/Generated/Models/SiteArchivalDetails.php +++ b/src/Generated/Models/SiteArchivalDetails.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the archiveStatus property value. The archiveStatus property + * Gets the archiveStatus property value. Represents the current archive status of the site collection. Returned only on $select. The possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. * @return SiteArchiveStatus|null */ public function getArchiveStatus(): ?SiteArchiveStatus { @@ -110,7 +110,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the archiveStatus property value. The archiveStatus property + * Sets the archiveStatus property value. Represents the current archive status of the site collection. Returned only on $select. The possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. * @param SiteArchiveStatus|null $value Value to set for the archiveStatus property. */ public function setArchiveStatus(?SiteArchiveStatus $value): void { diff --git a/src/Generated/Models/SiteCollection.php b/src/Generated/Models/SiteCollection.php index aae470435f9..ed9fa7a4855 100644 --- a/src/Generated/Models/SiteCollection.php +++ b/src/Generated/Models/SiteCollection.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the archivalDetails property value. The archivalDetails property + * Gets the archivalDetails property value. Represents whether the site collection is recently archived, fully archived, or reactivating. Possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. * @return SiteArchivalDetails|null */ public function getArchivalDetails(): ?SiteArchivalDetails { @@ -152,7 +152,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the archivalDetails property value. The archivalDetails property + * Sets the archivalDetails property value. Represents whether the site collection is recently archived, fully archived, or reactivating. Possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. * @param SiteArchivalDetails|null $value Value to set for the archivalDetails property. */ public function setArchivalDetails(?SiteArchivalDetails $value): void { diff --git a/src/Generated/Models/UserActivity.php b/src/Generated/Models/UserActivity.php index d79a463d36b..f349ac18845 100644 --- a/src/Generated/Models/UserActivity.php +++ b/src/Generated/Models/UserActivity.php @@ -74,18 +74,6 @@ public function getAppDisplayName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'appDisplayName'"); } - /** - * Gets the contentInfo property value. Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. - * @return Json|null - */ - public function getContentInfo(): ?Json { - $val = $this->getBackingStore()->get('contentInfo'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'contentInfo'"); - } - /** * Gets the contentUrl property value. Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed). * @return string|null @@ -145,7 +133,6 @@ public function getFieldDeserializers(): array { 'activitySourceHost' => fn(ParseNode $n) => $o->setActivitySourceHost($n->getStringValue()), 'appActivityId' => fn(ParseNode $n) => $o->setAppActivityId($n->getStringValue()), 'appDisplayName' => fn(ParseNode $n) => $o->setAppDisplayName($n->getStringValue()), - 'contentInfo' => fn(ParseNode $n) => $o->setContentInfo($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'contentUrl' => fn(ParseNode $n) => $o->setContentUrl($n->getStringValue()), 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), @@ -230,7 +217,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activitySourceHost', $this->getActivitySourceHost()); $writer->writeStringValue('appActivityId', $this->getAppActivityId()); $writer->writeStringValue('appDisplayName', $this->getAppDisplayName()); - $writer->writeObjectValue('contentInfo', $this->getContentInfo()); $writer->writeStringValue('contentUrl', $this->getContentUrl()); $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); @@ -274,14 +260,6 @@ public function setAppDisplayName(?string $value): void { $this->getBackingStore()->set('appDisplayName', $value); } - /** - * Sets the contentInfo property value. Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. - * @param Json|null $value Value to set for the contentInfo property. - */ - public function setContentInfo(?Json $value): void { - $this->getBackingStore()->set('contentInfo', $value); - } - /** * Sets the contentUrl property value. Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed). * @param string|null $value Value to set for the contentUrl property. diff --git a/src/Generated/Models/UserIdentity.php b/src/Generated/Models/UserIdentity.php index ad63c3e01c6..a6682ba9d2a 100644 --- a/src/Generated/Models/UserIdentity.php +++ b/src/Generated/Models/UserIdentity.php @@ -38,7 +38,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the ipAddress property value. Indicates the client IP address used by user performing the activity (audit log only). + * Gets the ipAddress property value. Indicates the client IP address associated with the user performing the activity (audit log only). * @return string|null */ public function getIpAddress(): ?string { @@ -72,7 +72,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the ipAddress property value. Indicates the client IP address used by user performing the activity (audit log only). + * Sets the ipAddress property value. Indicates the client IP address associated with the user performing the activity (audit log only). * @param string|null $value Value to set for the ipAddress property. */ public function setIpAddress(?string $value): void { diff --git a/src/Generated/Models/VisualInfo.php b/src/Generated/Models/VisualInfo.php index 6a5f8eb1edf..ab6b9cc1e2a 100644 --- a/src/Generated/Models/VisualInfo.php +++ b/src/Generated/Models/VisualInfo.php @@ -79,18 +79,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the content property value. Optional. Custom piece of data - JSON object used to provide custom content to render the activity in the Windows Shell UI - * @return Json|null - */ - public function getContent(): ?Json { - $val = $this->getBackingStore()->get('content'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'content'"); - } - /** * Gets the description property value. Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata) * @return string|null @@ -124,7 +112,6 @@ public function getFieldDeserializers(): array { return [ 'attribution' => fn(ParseNode $n) => $o->setAttribution($n->getObjectValue([ImageInfo::class, 'createFromDiscriminatorValue'])), 'backgroundColor' => fn(ParseNode $n) => $o->setBackgroundColor($n->getStringValue()), - 'content' => fn(ParseNode $n) => $o->setContent($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), 'displayText' => fn(ParseNode $n) => $o->setDisplayText($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), @@ -150,7 +137,6 @@ public function getOdataType(): ?string { public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('attribution', $this->getAttribution()); $writer->writeStringValue('backgroundColor', $this->getBackgroundColor()); - $writer->writeObjectValue('content', $this->getContent()); $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('displayText', $this->getDisplayText()); $writer->writeStringValue('@odata.type', $this->getOdataType()); @@ -189,14 +175,6 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the content property value. Optional. Custom piece of data - JSON object used to provide custom content to render the activity in the Windows Shell UI - * @param Json|null $value Value to set for the content property. - */ - public function setContent(?Json $value): void { - $this->getBackingStore()->set('content', $value); - } - /** * Sets the description property value. Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata) * @param string|null $value Value to set for the description property. diff --git a/src/Generated/Models/WebPartData.php b/src/Generated/Models/WebPartData.php index b1d460f8fe0..a7e7e3ac774 100644 --- a/src/Generated/Models/WebPartData.php +++ b/src/Generated/Models/WebPartData.php @@ -89,7 +89,6 @@ public function getFieldDeserializers(): array { 'dataVersion' => fn(ParseNode $n) => $o->setDataVersion($n->getStringValue()), 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'properties' => fn(ParseNode $n) => $o->setProperties($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'serverProcessedContent' => fn(ParseNode $n) => $o->setServerProcessedContent($n->getObjectValue([ServerProcessedContent::class, 'createFromDiscriminatorValue'])), 'title' => fn(ParseNode $n) => $o->setTitle($n->getStringValue()), ]; @@ -107,18 +106,6 @@ public function getOdataType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } - /** - * Gets the properties property value. Properties bag of the web part. - * @return Json|null - */ - public function getProperties(): ?Json { - $val = $this->getBackingStore()->get('properties'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'properties'"); - } - /** * Gets the serverProcessedContent property value. Contains collections of data that can be processed by server side services like search index and link fixup. * @return ServerProcessedContent|null @@ -151,7 +138,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('dataVersion', $this->getDataVersion()); $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeObjectValue('properties', $this->getProperties()); $writer->writeObjectValue('serverProcessedContent', $this->getServerProcessedContent()); $writer->writeStringValue('title', $this->getTitle()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -197,14 +183,6 @@ public function setOdataType(?string $value): void { $this->getBackingStore()->set('odataType', $value); } - /** - * Sets the properties property value. Properties bag of the web part. - * @param Json|null $value Value to set for the properties property. - */ - public function setProperties(?Json $value): void { - $this->getBackingStore()->set('properties', $value); - } - /** * Sets the serverProcessedContent property value. Contains collections of data that can be processed by server side services like search index and link fixup. * @param ServerProcessedContent|null $value Value to set for the serverProcessedContent property. diff --git a/src/Generated/Models/WindowsAutopilotDeploymentProfile.php b/src/Generated/Models/WindowsAutopilotDeploymentProfile.php new file mode 100644 index 00000000000..92c8f72a074 --- /dev/null +++ b/src/Generated/Models/WindowsAutopilotDeploymentProfile.php @@ -0,0 +1,347 @@ +|null + */ + public function getAssignedDevices(): ?array { + $val = $this->getBackingStore()->get('assignedDevices'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WindowsAutopilotDeviceIdentity::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignedDevices'"); + } + + /** + * Gets the createdDateTime property value. The date and time of when the deployment profile was created. The value cannot be modified and is automatically populated when the profile was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. Read-Only. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the description property value. A description of the deployment profile. Max allowed length is 1500 chars. Supports: $select, $top, $skip, $orderBy. $Search and $filter are not supported. + * @return string|null + */ + public function getDescription(): ?string { + $val = $this->getBackingStore()->get('description'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); + } + + /** + * Gets the deviceNameTemplate property value. The template used to name the Autopilot device. This can be a custom text and can also contain either the serial number of the device, or a randomly generated number. The total length of the text generated by the template can be no more than 15 characters. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @return string|null + */ + public function getDeviceNameTemplate(): ?string { + $val = $this->getBackingStore()->get('deviceNameTemplate'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceNameTemplate'"); + } + + /** + * Gets the deviceType property value. The deviceType property + * @return WindowsAutopilotDeviceType|null + */ + public function getDeviceType(): ?WindowsAutopilotDeviceType { + $val = $this->getBackingStore()->get('deviceType'); + if (is_null($val) || $val instanceof WindowsAutopilotDeviceType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceType'"); + } + + /** + * Gets the displayName property value. The display name of the deployment profile. Max allowed length is 200 chars. Returned by default. Supports: $select, $top, $skip, $orderby. $Search and $filter are not supported. + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'assignedDevices' => fn(ParseNode $n) => $o->setAssignedDevices($n->getCollectionOfObjectValues([WindowsAutopilotDeviceIdentity::class, 'createFromDiscriminatorValue'])), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), + 'deviceNameTemplate' => fn(ParseNode $n) => $o->setDeviceNameTemplate($n->getStringValue()), + 'deviceType' => fn(ParseNode $n) => $o->setDeviceType($n->getEnumValue(WindowsAutopilotDeviceType::class)), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'hardwareHashExtractionEnabled' => fn(ParseNode $n) => $o->setHardwareHashExtractionEnabled($n->getBooleanValue()), + 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'managementServiceAppId' => fn(ParseNode $n) => $o->setManagementServiceAppId($n->getStringValue()), + 'outOfBoxExperienceSetting' => fn(ParseNode $n) => $o->setOutOfBoxExperienceSetting($n->getObjectValue([OutOfBoxExperienceSetting::class, 'createFromDiscriminatorValue'])), + 'preprovisioningAllowed' => fn(ParseNode $n) => $o->setPreprovisioningAllowed($n->getBooleanValue()), + 'roleScopeTagIds' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setRoleScopeTagIds($val); + }, + ]); + } + + /** + * Gets the hardwareHashExtractionEnabled property value. Indicates whether the profile supports the extraction of hardware hash values and registration of the device into Windows Autopilot. When TRUE, indicates if hardware extraction and Windows Autopilot registration will happen on the next successful check-in. When FALSE, hardware hash extraction and Windows Autopilot registration will not happen. Default value is FALSE. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @return bool|null + */ + public function getHardwareHashExtractionEnabled(): ?bool { + $val = $this->getBackingStore()->get('hardwareHashExtractionEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'hardwareHashExtractionEnabled'"); + } + + /** + * Gets the lastModifiedDateTime property value. The date and time of when the deployment profile was last modified. The value cannot be updated manually and is automatically populated when any changes are made to the profile. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported Read-Only. + * @return DateTime|null + */ + public function getLastModifiedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastModifiedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastModifiedDateTime'"); + } + + /** + * Gets the locale property value. The locale (language) to be used when configuring the device. E.g. en-US. The default value is os-default. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the managementServiceAppId property value. The Entra management service App ID which gets used during client device-based enrollment discovery. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @return string|null + */ + public function getManagementServiceAppId(): ?string { + $val = $this->getBackingStore()->get('managementServiceAppId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'managementServiceAppId'"); + } + + /** + * Gets the outOfBoxExperienceSetting property value. The Windows Autopilot Deployment Profile settings used by the device for the out-of-box experience. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @return OutOfBoxExperienceSetting|null + */ + public function getOutOfBoxExperienceSetting(): ?OutOfBoxExperienceSetting { + $val = $this->getBackingStore()->get('outOfBoxExperienceSetting'); + if (is_null($val) || $val instanceof OutOfBoxExperienceSetting) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'outOfBoxExperienceSetting'"); + } + + /** + * Gets the preprovisioningAllowed property value. Indicates whether the user is allowed to use Windows Autopilot for pre-provisioned deployment mode during Out of Box experience (OOBE). When TRUE, indicates that Windows Autopilot for pre-provisioned deployment mode for OOBE is allowed to be used. When false, Windows Autopilot for pre-provisioned deployment mode for OOBE is not allowed. The default is FALSE. + * @return bool|null + */ + public function getPreprovisioningAllowed(): ?bool { + $val = $this->getBackingStore()->get('preprovisioningAllowed'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'preprovisioningAllowed'"); + } + + /** + * Gets the roleScopeTagIds property value. List of role scope tags for the deployment profile. + * @return array|null + */ + public function getRoleScopeTagIds(): ?array { + $val = $this->getBackingStore()->get('roleScopeTagIds'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'roleScopeTagIds'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('assignedDevices', $this->getAssignedDevices()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeStringValue('description', $this->getDescription()); + $writer->writeStringValue('deviceNameTemplate', $this->getDeviceNameTemplate()); + $writer->writeEnumValue('deviceType', $this->getDeviceType()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeBooleanValue('hardwareHashExtractionEnabled', $this->getHardwareHashExtractionEnabled()); + $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeStringValue('managementServiceAppId', $this->getManagementServiceAppId()); + $writer->writeObjectValue('outOfBoxExperienceSetting', $this->getOutOfBoxExperienceSetting()); + $writer->writeBooleanValue('preprovisioningAllowed', $this->getPreprovisioningAllowed()); + $writer->writeCollectionOfPrimitiveValues('roleScopeTagIds', $this->getRoleScopeTagIds()); + } + + /** + * Sets the assignedDevices property value. The list of assigned devices for the profile. + * @param array|null $value Value to set for the assignedDevices property. + */ + public function setAssignedDevices(?array $value): void { + $this->getBackingStore()->set('assignedDevices', $value); + } + + /** + * Sets the createdDateTime property value. The date and time of when the deployment profile was created. The value cannot be modified and is automatically populated when the profile was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. Read-Only. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the description property value. A description of the deployment profile. Max allowed length is 1500 chars. Supports: $select, $top, $skip, $orderBy. $Search and $filter are not supported. + * @param string|null $value Value to set for the description property. + */ + public function setDescription(?string $value): void { + $this->getBackingStore()->set('description', $value); + } + + /** + * Sets the deviceNameTemplate property value. The template used to name the Autopilot device. This can be a custom text and can also contain either the serial number of the device, or a randomly generated number. The total length of the text generated by the template can be no more than 15 characters. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @param string|null $value Value to set for the deviceNameTemplate property. + */ + public function setDeviceNameTemplate(?string $value): void { + $this->getBackingStore()->set('deviceNameTemplate', $value); + } + + /** + * Sets the deviceType property value. The deviceType property + * @param WindowsAutopilotDeviceType|null $value Value to set for the deviceType property. + */ + public function setDeviceType(?WindowsAutopilotDeviceType $value): void { + $this->getBackingStore()->set('deviceType', $value); + } + + /** + * Sets the displayName property value. The display name of the deployment profile. Max allowed length is 200 chars. Returned by default. Supports: $select, $top, $skip, $orderby. $Search and $filter are not supported. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the hardwareHashExtractionEnabled property value. Indicates whether the profile supports the extraction of hardware hash values and registration of the device into Windows Autopilot. When TRUE, indicates if hardware extraction and Windows Autopilot registration will happen on the next successful check-in. When FALSE, hardware hash extraction and Windows Autopilot registration will not happen. Default value is FALSE. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @param bool|null $value Value to set for the hardwareHashExtractionEnabled property. + */ + public function setHardwareHashExtractionEnabled(?bool $value): void { + $this->getBackingStore()->set('hardwareHashExtractionEnabled', $value); + } + + /** + * Sets the lastModifiedDateTime property value. The date and time of when the deployment profile was last modified. The value cannot be updated manually and is automatically populated when any changes are made to the profile. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported Read-Only. + * @param DateTime|null $value Value to set for the lastModifiedDateTime property. + */ + public function setLastModifiedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastModifiedDateTime', $value); + } + + /** + * Sets the locale property value. The locale (language) to be used when configuring the device. E.g. en-US. The default value is os-default. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the managementServiceAppId property value. The Entra management service App ID which gets used during client device-based enrollment discovery. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @param string|null $value Value to set for the managementServiceAppId property. + */ + public function setManagementServiceAppId(?string $value): void { + $this->getBackingStore()->set('managementServiceAppId', $value); + } + + /** + * Sets the outOfBoxExperienceSetting property value. The Windows Autopilot Deployment Profile settings used by the device for the out-of-box experience. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. + * @param OutOfBoxExperienceSetting|null $value Value to set for the outOfBoxExperienceSetting property. + */ + public function setOutOfBoxExperienceSetting(?OutOfBoxExperienceSetting $value): void { + $this->getBackingStore()->set('outOfBoxExperienceSetting', $value); + } + + /** + * Sets the preprovisioningAllowed property value. Indicates whether the user is allowed to use Windows Autopilot for pre-provisioned deployment mode during Out of Box experience (OOBE). When TRUE, indicates that Windows Autopilot for pre-provisioned deployment mode for OOBE is allowed to be used. When false, Windows Autopilot for pre-provisioned deployment mode for OOBE is not allowed. The default is FALSE. + * @param bool|null $value Value to set for the preprovisioningAllowed property. + */ + public function setPreprovisioningAllowed(?bool $value): void { + $this->getBackingStore()->set('preprovisioningAllowed', $value); + } + + /** + * Sets the roleScopeTagIds property value. List of role scope tags for the deployment profile. + * @param array|null $value Value to set for the roleScopeTagIds property. + */ + public function setRoleScopeTagIds(?array $value): void { + $this->getBackingStore()->set('roleScopeTagIds', $value); + } + +} diff --git a/src/Generated/Models/WindowsAutopilotDeploymentProfileAssignment.php b/src/Generated/Models/WindowsAutopilotDeploymentProfileAssignment.php new file mode 100644 index 00000000000..e1dcca99610 --- /dev/null +++ b/src/Generated/Models/WindowsAutopilotDeploymentProfileAssignment.php @@ -0,0 +1,48 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/WindowsAutopilotDeviceType.php b/src/Generated/Models/WindowsAutopilotDeviceType.php new file mode 100644 index 00000000000..546aab302c7 --- /dev/null +++ b/src/Generated/Models/WindowsAutopilotDeviceType.php @@ -0,0 +1,11 @@ + fn(ParseNode $n) => $o->setFormat($n->getObjectValue([WorkbookChartAxisFormat::class, 'createFromDiscriminatorValue'])), 'majorGridlines' => fn(ParseNode $n) => $o->setMajorGridlines($n->getObjectValue([WorkbookChartGridlines::class, 'createFromDiscriminatorValue'])), - 'majorUnit' => fn(ParseNode $n) => $o->setMajorUnit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maximum' => fn(ParseNode $n) => $o->setMaximum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'minimum' => fn(ParseNode $n) => $o->setMinimum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'minorGridlines' => fn(ParseNode $n) => $o->setMinorGridlines($n->getObjectValue([WorkbookChartGridlines::class, 'createFromDiscriminatorValue'])), - 'minorUnit' => fn(ParseNode $n) => $o->setMinorUnit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'title' => fn(ParseNode $n) => $o->setTitle($n->getObjectValue([WorkbookChartAxisTitle::class, 'createFromDiscriminatorValue'])), ]); } @@ -66,42 +62,6 @@ public function getMajorGridlines(): ?WorkbookChartGridlines { throw new \UnexpectedValueException("Invalid type found in backing store for 'majorGridlines'"); } - /** - * Gets the majorUnit property value. Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number. - * @return Json|null - */ - public function getMajorUnit(): ?Json { - $val = $this->getBackingStore()->get('majorUnit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'majorUnit'"); - } - - /** - * Gets the maximum property value. Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. - * @return Json|null - */ - public function getMaximum(): ?Json { - $val = $this->getBackingStore()->get('maximum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maximum'"); - } - - /** - * Gets the minimum property value. Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. - * @return Json|null - */ - public function getMinimum(): ?Json { - $val = $this->getBackingStore()->get('minimum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'minimum'"); - } - /** * Gets the minorGridlines property value. Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. * @return WorkbookChartGridlines|null @@ -114,18 +74,6 @@ public function getMinorGridlines(): ?WorkbookChartGridlines { throw new \UnexpectedValueException("Invalid type found in backing store for 'minorGridlines'"); } - /** - * Gets the minorUnit property value. Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. - * @return Json|null - */ - public function getMinorUnit(): ?Json { - $val = $this->getBackingStore()->get('minorUnit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'minorUnit'"); - } - /** * Gets the title property value. Represents the axis title. Read-only. * @return WorkbookChartAxisTitle|null @@ -146,11 +94,7 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('format', $this->getFormat()); $writer->writeObjectValue('majorGridlines', $this->getMajorGridlines()); - $writer->writeObjectValue('majorUnit', $this->getMajorUnit()); - $writer->writeObjectValue('maximum', $this->getMaximum()); - $writer->writeObjectValue('minimum', $this->getMinimum()); $writer->writeObjectValue('minorGridlines', $this->getMinorGridlines()); - $writer->writeObjectValue('minorUnit', $this->getMinorUnit()); $writer->writeObjectValue('title', $this->getTitle()); } @@ -170,30 +114,6 @@ public function setMajorGridlines(?WorkbookChartGridlines $value): void { $this->getBackingStore()->set('majorGridlines', $value); } - /** - * Sets the majorUnit property value. Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number. - * @param Json|null $value Value to set for the majorUnit property. - */ - public function setMajorUnit(?Json $value): void { - $this->getBackingStore()->set('majorUnit', $value); - } - - /** - * Sets the maximum property value. Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. - * @param Json|null $value Value to set for the maximum property. - */ - public function setMaximum(?Json $value): void { - $this->getBackingStore()->set('maximum', $value); - } - - /** - * Sets the minimum property value. Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. - * @param Json|null $value Value to set for the minimum property. - */ - public function setMinimum(?Json $value): void { - $this->getBackingStore()->set('minimum', $value); - } - /** * Sets the minorGridlines property value. Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. * @param WorkbookChartGridlines|null $value Value to set for the minorGridlines property. @@ -202,14 +122,6 @@ public function setMinorGridlines(?WorkbookChartGridlines $value): void { $this->getBackingStore()->set('minorGridlines', $value); } - /** - * Sets the minorUnit property value. Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. - * @param Json|null $value Value to set for the minorUnit property. - */ - public function setMinorUnit(?Json $value): void { - $this->getBackingStore()->set('minorUnit', $value); - } - /** * Sets the title property value. Represents the axis title. Read-only. * @param WorkbookChartAxisTitle|null $value Value to set for the title property. diff --git a/src/Generated/Models/WorkbookChartPoint.php b/src/Generated/Models/WorkbookChartPoint.php index ff60e8d3d8f..550bf1288a2 100644 --- a/src/Generated/Models/WorkbookChartPoint.php +++ b/src/Generated/Models/WorkbookChartPoint.php @@ -32,7 +32,6 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'format' => fn(ParseNode $n) => $o->setFormat($n->getObjectValue([WorkbookChartPointFormat::class, 'createFromDiscriminatorValue'])), - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]); } @@ -48,18 +47,6 @@ public function getFormat(): ?WorkbookChartPointFormat { throw new \UnexpectedValueException("Invalid type found in backing store for 'format'"); } - /** - * Gets the value property value. Returns the value of a chart point. Read-only. - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -67,7 +54,6 @@ public function getValue(): ?Json { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('format', $this->getFormat()); - $writer->writeObjectValue('value', $this->getValue()); } /** @@ -78,12 +64,4 @@ public function setFormat(?WorkbookChartPointFormat $value): void { $this->getBackingStore()->set('format', $value); } - /** - * Sets the value property value. Returns the value of a chart point. Read-only. - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Models/WorkbookFilterCriteria.php b/src/Generated/Models/WorkbookFilterCriteria.php index 387854dd396..0ae76e15cd2 100644 --- a/src/Generated/Models/WorkbookFilterCriteria.php +++ b/src/Generated/Models/WorkbookFilterCriteria.php @@ -118,7 +118,6 @@ public function getFieldDeserializers(): array { 'icon' => fn(ParseNode $n) => $o->setIcon($n->getObjectValue([WorkbookIcon::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'operator' => fn(ParseNode $n) => $o->setOperator($n->getStringValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -170,18 +169,6 @@ public function getOperator(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'operator'"); } - /** - * Gets the values property value. The values that appear in the cell. - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -195,7 +182,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('icon', $this->getIcon()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeStringValue('operator', $this->getOperator()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -279,12 +265,4 @@ public function setOperator(?string $value): void { $this->getBackingStore()->set('operator', $value); } - /** - * Sets the values property value. The values that appear in the cell. - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Models/WorkbookFunctionResult.php b/src/Generated/Models/WorkbookFunctionResult.php index d03e4fd080a..c5f8d5d5138 100644 --- a/src/Generated/Models/WorkbookFunctionResult.php +++ b/src/Generated/Models/WorkbookFunctionResult.php @@ -44,22 +44,9 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'error' => fn(ParseNode $n) => $o->setError($n->getStringValue()), - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]); } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -67,7 +54,6 @@ public function getValue(): ?Json { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('error', $this->getError()); - $writer->writeObjectValue('value', $this->getValue()); } /** @@ -78,12 +64,4 @@ public function setError(?string $value): void { $this->getBackingStore()->set('error', $value); } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Models/WorkbookNamedItem.php b/src/Generated/Models/WorkbookNamedItem.php index 9eb7791e4b5..5419cfa9bd5 100644 --- a/src/Generated/Models/WorkbookNamedItem.php +++ b/src/Generated/Models/WorkbookNamedItem.php @@ -47,7 +47,6 @@ public function getFieldDeserializers(): array { 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), 'scope' => fn(ParseNode $n) => $o->setScope($n->getStringValue()), 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'visible' => fn(ParseNode $n) => $o->setVisible($n->getBooleanValue()), 'worksheet' => fn(ParseNode $n) => $o->setWorksheet($n->getObjectValue([WorkbookWorksheet::class, 'createFromDiscriminatorValue'])), ]); @@ -89,18 +88,6 @@ public function getType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); } - /** - * Gets the value property value. Represents the formula that the name is defined to refer to. for example, =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Gets the visible property value. Specifies whether the object is visible or not. * @return bool|null @@ -135,7 +122,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('name', $this->getName()); $writer->writeStringValue('scope', $this->getScope()); $writer->writeStringValue('type', $this->getType()); - $writer->writeObjectValue('value', $this->getValue()); $writer->writeBooleanValue('visible', $this->getVisible()); $writer->writeObjectValue('worksheet', $this->getWorksheet()); } @@ -172,14 +158,6 @@ public function setType(?string $value): void { $this->getBackingStore()->set('type', $value); } - /** - * Sets the value property value. Represents the formula that the name is defined to refer to. for example, =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - /** * Sets the visible property value. Specifies whether the object is visible or not. * @param bool|null $value Value to set for the visible property. diff --git a/src/Generated/Models/WorkbookRange.php b/src/Generated/Models/WorkbookRange.php index c336bb09bf3..40c79c28d50 100644 --- a/src/Generated/Models/WorkbookRange.php +++ b/src/Generated/Models/WorkbookRange.php @@ -110,18 +110,11 @@ public function getFieldDeserializers(): array { 'columnHidden' => fn(ParseNode $n) => $o->setColumnHidden($n->getBooleanValue()), 'columnIndex' => fn(ParseNode $n) => $o->setColumnIndex($n->getIntegerValue()), 'format' => fn(ParseNode $n) => $o->setFormat($n->getObjectValue([WorkbookRangeFormat::class, 'createFromDiscriminatorValue'])), - 'formulas' => fn(ParseNode $n) => $o->setFormulas($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'formulasLocal' => fn(ParseNode $n) => $o->setFormulasLocal($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'formulasR1C1' => fn(ParseNode $n) => $o->setFormulasR1C1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'hidden' => fn(ParseNode $n) => $o->setHidden($n->getBooleanValue()), - 'numberFormat' => fn(ParseNode $n) => $o->setNumberFormat($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'rowCount' => fn(ParseNode $n) => $o->setRowCount($n->getIntegerValue()), 'rowHidden' => fn(ParseNode $n) => $o->setRowHidden($n->getBooleanValue()), 'rowIndex' => fn(ParseNode $n) => $o->setRowIndex($n->getIntegerValue()), 'sort' => fn(ParseNode $n) => $o->setSort($n->getObjectValue([WorkbookRangeSort::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'valueTypes' => fn(ParseNode $n) => $o->setValueTypes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'worksheet' => fn(ParseNode $n) => $o->setWorksheet($n->getObjectValue([WorkbookWorksheet::class, 'createFromDiscriminatorValue'])), ]); } @@ -138,42 +131,6 @@ public function getFormat(): ?WorkbookRangeFormat { throw new \UnexpectedValueException("Invalid type found in backing store for 'format'"); } - /** - * Gets the formulas property value. Represents the formula in A1-style notation. - * @return Json|null - */ - public function getFormulas(): ?Json { - $val = $this->getBackingStore()->get('formulas'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formulas'"); - } - - /** - * Gets the formulasLocal property value. Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. - * @return Json|null - */ - public function getFormulasLocal(): ?Json { - $val = $this->getBackingStore()->get('formulasLocal'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formulasLocal'"); - } - - /** - * Gets the formulasR1C1 property value. Represents the formula in R1C1-style notation. - * @return Json|null - */ - public function getFormulasR1C1(): ?Json { - $val = $this->getBackingStore()->get('formulasR1C1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formulasR1C1'"); - } - /** * Gets the hidden property value. Represents if all cells of the current range are hidden. Read-only. * @return bool|null @@ -186,18 +143,6 @@ public function getHidden(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'hidden'"); } - /** - * Gets the numberFormat property value. Represents Excel's number format code for the given cell. - * @return Json|null - */ - public function getNumberFormat(): ?Json { - $val = $this->getBackingStore()->get('numberFormat'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberFormat'"); - } - /** * Gets the rowCount property value. Returns the total number of rows in the range. Read-only. * @return int|null @@ -246,42 +191,6 @@ public function getSort(): ?WorkbookRangeSort { throw new \UnexpectedValueException("Invalid type found in backing store for 'sort'"); } - /** - * Gets the text property value. Text values of the specified range. The Text value doesn't depend on the cell width. The # sign substitution that happens in Excel UI doesn't affect the text value returned by the API. Read-only. - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - - /** - * Gets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - - /** - * Gets the valueTypes property value. Represents the type of data of each cell. The possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. - * @return Json|null - */ - public function getValueTypes(): ?Json { - $val = $this->getBackingStore()->get('valueTypes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'valueTypes'"); - } - /** * Gets the worksheet property value. The worksheet containing the current range. Read-only. * @return WorkbookWorksheet|null @@ -307,18 +216,11 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('columnHidden', $this->getColumnHidden()); $writer->writeIntegerValue('columnIndex', $this->getColumnIndex()); $writer->writeObjectValue('format', $this->getFormat()); - $writer->writeObjectValue('formulas', $this->getFormulas()); - $writer->writeObjectValue('formulasLocal', $this->getFormulasLocal()); - $writer->writeObjectValue('formulasR1C1', $this->getFormulasR1C1()); $writer->writeBooleanValue('hidden', $this->getHidden()); - $writer->writeObjectValue('numberFormat', $this->getNumberFormat()); $writer->writeIntegerValue('rowCount', $this->getRowCount()); $writer->writeBooleanValue('rowHidden', $this->getRowHidden()); $writer->writeIntegerValue('rowIndex', $this->getRowIndex()); $writer->writeObjectValue('sort', $this->getSort()); - $writer->writeObjectValue('text', $this->getText()); - $writer->writeObjectValue('values', $this->getValues()); - $writer->writeObjectValue('valueTypes', $this->getValueTypes()); $writer->writeObjectValue('worksheet', $this->getWorksheet()); } @@ -378,30 +280,6 @@ public function setFormat(?WorkbookRangeFormat $value): void { $this->getBackingStore()->set('format', $value); } - /** - * Sets the formulas property value. Represents the formula in A1-style notation. - * @param Json|null $value Value to set for the formulas property. - */ - public function setFormulas(?Json $value): void { - $this->getBackingStore()->set('formulas', $value); - } - - /** - * Sets the formulasLocal property value. Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. - * @param Json|null $value Value to set for the formulasLocal property. - */ - public function setFormulasLocal(?Json $value): void { - $this->getBackingStore()->set('formulasLocal', $value); - } - - /** - * Sets the formulasR1C1 property value. Represents the formula in R1C1-style notation. - * @param Json|null $value Value to set for the formulasR1C1 property. - */ - public function setFormulasR1C1(?Json $value): void { - $this->getBackingStore()->set('formulasR1C1', $value); - } - /** * Sets the hidden property value. Represents if all cells of the current range are hidden. Read-only. * @param bool|null $value Value to set for the hidden property. @@ -410,14 +288,6 @@ public function setHidden(?bool $value): void { $this->getBackingStore()->set('hidden', $value); } - /** - * Sets the numberFormat property value. Represents Excel's number format code for the given cell. - * @param Json|null $value Value to set for the numberFormat property. - */ - public function setNumberFormat(?Json $value): void { - $this->getBackingStore()->set('numberFormat', $value); - } - /** * Sets the rowCount property value. Returns the total number of rows in the range. Read-only. * @param int|null $value Value to set for the rowCount property. @@ -450,30 +320,6 @@ public function setSort(?WorkbookRangeSort $value): void { $this->getBackingStore()->set('sort', $value); } - /** - * Sets the text property value. Text values of the specified range. The Text value doesn't depend on the cell width. The # sign substitution that happens in Excel UI doesn't affect the text value returned by the API. Read-only. - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - - /** - * Sets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - - /** - * Sets the valueTypes property value. Represents the type of data of each cell. The possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. - * @param Json|null $value Value to set for the valueTypes property. - */ - public function setValueTypes(?Json $value): void { - $this->getBackingStore()->set('valueTypes', $value); - } - /** * Sets the worksheet property value. The worksheet containing the current range. Read-only. * @param WorkbookWorksheet|null $value Value to set for the worksheet property. diff --git a/src/Generated/Models/WorkbookRangeView.php b/src/Generated/Models/WorkbookRangeView.php index cec9ec8fa47..43032ce8ad1 100644 --- a/src/Generated/Models/WorkbookRangeView.php +++ b/src/Generated/Models/WorkbookRangeView.php @@ -25,18 +25,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Workb return new WorkbookRangeView(); } - /** - * Gets the cellAddresses property value. Represents the cell addresses - * @return Json|null - */ - public function getCellAddresses(): ?Json { - $val = $this->getBackingStore()->get('cellAddresses'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cellAddresses'"); - } - /** * Gets the columnCount property value. Returns the number of visible columns. Read-only. * @return int|null @@ -56,57 +44,13 @@ public function getColumnCount(): ?int { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'cellAddresses' => fn(ParseNode $n) => $o->setCellAddresses($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'columnCount' => fn(ParseNode $n) => $o->setColumnCount($n->getIntegerValue()), - 'formulas' => fn(ParseNode $n) => $o->setFormulas($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'formulasLocal' => fn(ParseNode $n) => $o->setFormulasLocal($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'formulasR1C1' => fn(ParseNode $n) => $o->setFormulasR1C1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - 'numberFormat' => fn(ParseNode $n) => $o->setNumberFormat($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'rowCount' => fn(ParseNode $n) => $o->setRowCount($n->getIntegerValue()), 'rows' => fn(ParseNode $n) => $o->setRows($n->getCollectionOfObjectValues([WorkbookRangeView::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'valueTypes' => fn(ParseNode $n) => $o->setValueTypes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]); } - /** - * Gets the formulas property value. Represents the formula in A1-style notation. - * @return Json|null - */ - public function getFormulas(): ?Json { - $val = $this->getBackingStore()->get('formulas'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formulas'"); - } - - /** - * Gets the formulasLocal property value. Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. - * @return Json|null - */ - public function getFormulasLocal(): ?Json { - $val = $this->getBackingStore()->get('formulasLocal'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formulasLocal'"); - } - - /** - * Gets the formulasR1C1 property value. Represents the formula in R1C1-style notation. - * @return Json|null - */ - public function getFormulasR1C1(): ?Json { - $val = $this->getBackingStore()->get('formulasR1C1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formulasR1C1'"); - } - /** * Gets the index property value. Index of the range. * @return int|null @@ -119,18 +63,6 @@ public function getIndex(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); } - /** - * Gets the numberFormat property value. Represents Excel's number format code for the given cell. Read-only. - * @return Json|null - */ - public function getNumberFormat(): ?Json { - $val = $this->getBackingStore()->get('numberFormat'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberFormat'"); - } - /** * Gets the rowCount property value. Returns the number of visible rows. Read-only. * @return int|null @@ -157,68 +89,16 @@ public function getRows(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'rows'"); } - /** - * Gets the text property value. Text values of the specified range. The Text value won't depend on the cell width. The # sign substitution that happens in Excel UI won't affect the text value returned by the API. Read-only. - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - - /** - * Gets the values property value. Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - - /** - * Gets the valueTypes property value. Represents the type of data of each cell. Read-only. The possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. - * @return Json|null - */ - public function getValueTypes(): ?Json { - $val = $this->getBackingStore()->get('valueTypes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'valueTypes'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeObjectValue('cellAddresses', $this->getCellAddresses()); $writer->writeIntegerValue('columnCount', $this->getColumnCount()); - $writer->writeObjectValue('formulas', $this->getFormulas()); - $writer->writeObjectValue('formulasLocal', $this->getFormulasLocal()); - $writer->writeObjectValue('formulasR1C1', $this->getFormulasR1C1()); $writer->writeIntegerValue('index', $this->getIndex()); - $writer->writeObjectValue('numberFormat', $this->getNumberFormat()); $writer->writeIntegerValue('rowCount', $this->getRowCount()); $writer->writeCollectionOfObjectValues('rows', $this->getRows()); - $writer->writeObjectValue('text', $this->getText()); - $writer->writeObjectValue('values', $this->getValues()); - $writer->writeObjectValue('valueTypes', $this->getValueTypes()); - } - - /** - * Sets the cellAddresses property value. Represents the cell addresses - * @param Json|null $value Value to set for the cellAddresses property. - */ - public function setCellAddresses(?Json $value): void { - $this->getBackingStore()->set('cellAddresses', $value); } /** @@ -229,30 +109,6 @@ public function setColumnCount(?int $value): void { $this->getBackingStore()->set('columnCount', $value); } - /** - * Sets the formulas property value. Represents the formula in A1-style notation. - * @param Json|null $value Value to set for the formulas property. - */ - public function setFormulas(?Json $value): void { - $this->getBackingStore()->set('formulas', $value); - } - - /** - * Sets the formulasLocal property value. Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. - * @param Json|null $value Value to set for the formulasLocal property. - */ - public function setFormulasLocal(?Json $value): void { - $this->getBackingStore()->set('formulasLocal', $value); - } - - /** - * Sets the formulasR1C1 property value. Represents the formula in R1C1-style notation. - * @param Json|null $value Value to set for the formulasR1C1 property. - */ - public function setFormulasR1C1(?Json $value): void { - $this->getBackingStore()->set('formulasR1C1', $value); - } - /** * Sets the index property value. Index of the range. * @param int|null $value Value to set for the index property. @@ -261,14 +117,6 @@ public function setIndex(?int $value): void { $this->getBackingStore()->set('index', $value); } - /** - * Sets the numberFormat property value. Represents Excel's number format code for the given cell. Read-only. - * @param Json|null $value Value to set for the numberFormat property. - */ - public function setNumberFormat(?Json $value): void { - $this->getBackingStore()->set('numberFormat', $value); - } - /** * Sets the rowCount property value. Returns the number of visible rows. Read-only. * @param int|null $value Value to set for the rowCount property. @@ -285,28 +133,4 @@ public function setRows(?array $value): void { $this->getBackingStore()->set('rows', $value); } - /** - * Sets the text property value. Text values of the specified range. The Text value won't depend on the cell width. The # sign substitution that happens in Excel UI won't affect the text value returned by the API. Read-only. - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - - /** - * Sets the values property value. Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - - /** - * Sets the valueTypes property value. Represents the type of data of each cell. Read-only. The possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. - * @param Json|null $value Value to set for the valueTypes property. - */ - public function setValueTypes(?Json $value): void { - $this->getBackingStore()->set('valueTypes', $value); - } - } diff --git a/src/Generated/Models/WorkbookTableColumn.php b/src/Generated/Models/WorkbookTableColumn.php index 19dc1a457af..37256d59e9f 100644 --- a/src/Generated/Models/WorkbookTableColumn.php +++ b/src/Generated/Models/WorkbookTableColumn.php @@ -34,7 +34,6 @@ public function getFieldDeserializers(): array { 'filter' => fn(ParseNode $n) => $o->setFilter($n->getObjectValue([WorkbookFilter::class, 'createFromDiscriminatorValue'])), 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]); } @@ -74,18 +73,6 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } - /** - * Gets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -95,7 +82,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('filter', $this->getFilter()); $writer->writeIntegerValue('index', $this->getIndex()); $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('values', $this->getValues()); } /** @@ -122,12 +108,4 @@ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } - /** - * Sets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Models/WorkbookTableRow.php b/src/Generated/Models/WorkbookTableRow.php index 03c86052d88..e54e0cb7685 100644 --- a/src/Generated/Models/WorkbookTableRow.php +++ b/src/Generated/Models/WorkbookTableRow.php @@ -32,7 +32,6 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]); } @@ -48,18 +47,6 @@ public function getIndex(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); } - /** - * Gets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -67,7 +54,6 @@ public function getValues(): ?Json { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeIntegerValue('index', $this->getIndex()); - $writer->writeObjectValue('values', $this->getValues()); } /** @@ -78,12 +64,4 @@ public function setIndex(?int $value): void { $this->getBackingStore()->set('index', $value); } - /** - * Sets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php index f2a5a2103ea..319b02c2e3d 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?BannerLogoRequestBuilderDeleteRequestConfiguration $requ } /** - * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 Find more info here */ public function get(?BannerLogoRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?BannerLogoRequestBuilderDeleteReques } /** - * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.php b/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.php index 1386ab36811..8c1113797b9 100644 --- a/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.php +++ b/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.php @@ -22,7 +22,7 @@ class DeviceRegistrationPolicyRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/policies/deviceRegistrationPolicy{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/policies/deviceRegistrationPolicy{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilderGetQueryParameters.php b/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilderGetQueryParameters.php index 683fd95196d..0309f5f5236 100644 --- a/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class DeviceRegistrationPolicyRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class DeviceRegistrationPolicyRequestBuilderGetQueryParameters /** * Instantiates a new DeviceRegistrationPolicyRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilderGetRequestConfiguration.php b/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilderGetRequestConfiguration.php index e1d42f74dd3..9f04d5ef3d8 100644 --- a/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Dev /** * Instantiates a new DeviceRegistrationPolicyRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return DeviceRegistrationPolicyRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): DeviceRegistrationPolicyRequestBuilderGetQueryParameters { - return new DeviceRegistrationPolicyRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): DeviceRegistrationPolicyRequestBuilderGetQueryParameters { + return new DeviceRegistrationPolicyRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php index cb094b16ecf..241214cc5b1 100644 --- a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php +++ b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. + * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. This method doesn't work for disabled users. * @param UserRegistrationDetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -82,7 +82,7 @@ public function post(UserRegistrationDetails $body, ?UserRegistrationDetailsRequ } /** - * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. + * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. This method doesn't work for disabled users. * @param UserRegistrationDetailsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilderGetQueryParameters.php b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilderGetQueryParameters.php index afafbed421e..68c4648167c 100644 --- a/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. + * Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. This method doesn't work for disabled users. */ class UserRegistrationDetailsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php index 2c34ee5482a..e45fc5275c5 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Operation entity that represents the latest indexing for the custodian. + * Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. * @param LastIndexOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-lastindexoperation?view=graph-rest-1.0 Find more info here */ public function get(?LastIndexOperationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -45,7 +46,7 @@ public function get(?LastIndexOperationRequestBuilderGetRequestConfiguration $re } /** - * Operation entity that represents the latest indexing for the custodian. + * Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. * @param LastIndexOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php index 5228661a226..40e836a8f72 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Operation entity that represents the latest indexing for the custodian. + * Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. */ class LastIndexOperationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.php index d49f1535747..983c6040bdf 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Data source entity for SharePoint sites associated with the custodian. + * Get a list of the siteSource objects associated with an ediscoveryCustodian. * @param SiteSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-sitesources?view=graph-rest-1.0 Find more info here */ public function get(?SiteSourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?SiteSourcesRequestBuilderGetRequestConfiguration $requestCo } /** - * Create new navigation property to siteSources for security + * Create a new siteSource object associated with an eDiscovery custodian. * @param SiteSource $body The request body * @param SiteSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverycustodian-post-sitesources?view=graph-rest-1.0 Find more info here */ public function post(SiteSource $body, ?SiteSourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(SiteSource $body, ?SiteSourcesRequestBuilderPostRequestConf } /** - * Data source entity for SharePoint sites associated with the custodian. + * Get a list of the siteSource objects associated with an ediscoveryCustodian. * @param SiteSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?SiteSourcesRequestBuilderGetRequestConf } /** - * Create new navigation property to siteSources for security + * Create a new siteSource object associated with an eDiscovery custodian. * @param SiteSource $body The request body * @param SiteSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilderGetQueryParameters.php index f2fe4e5d66e..6d0c81e3809 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Data source entity for SharePoint sites associated with the custodian. + * Get a list of the siteSource objects associated with an ediscoveryCustodian. */ class SiteSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.php index 8fa2c35037b..88a0fbd2c23 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Data source entity for groups associated with the custodian. + * Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. * @param UnifiedGroupSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-unifiedgroupsources?view=graph-rest-1.0 Find more info here */ public function get(?UnifiedGroupSourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?UnifiedGroupSourcesRequestBuilderGetRequestConfiguration $r } /** - * Create new navigation property to unifiedGroupSources for security + * Create a new unifiedGroupSource object associated with an eDiscovery custodian. * @param UnifiedGroupSource $body The request body * @param UnifiedGroupSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverycustodian-post-unifiedgroupsources?view=graph-rest-1.0 Find more info here */ public function post(UnifiedGroupSource $body, ?UnifiedGroupSourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(UnifiedGroupSource $body, ?UnifiedGroupSourcesRequestBuilde } /** - * Data source entity for groups associated with the custodian. + * Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. * @param UnifiedGroupSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?UnifiedGroupSourcesRequestBuilderGetReq } /** - * Create new navigation property to unifiedGroupSources for security + * Create a new unifiedGroupSource object associated with an eDiscovery custodian. * @param UnifiedGroupSource $body The request body * @param UnifiedGroupSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilderGetQueryParameters.php index c84007938bb..636db46be05 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Data source entity for groups associated with the custodian. + * Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. */ class UnifiedGroupSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.php index 977b27a772f..db5f684a427 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. + * Get a list of the userSource objects associated with an ediscoveryCustodian. * @param UserSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-usersources?view=graph-rest-1.0 Find more info here */ public function get(?UserSourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?UserSourcesRequestBuilderGetRequestConfiguration $requestCo } /** - * Create new navigation property to userSources for security + * Create a new userSource object associated with an eDiscovery custodian. * @param UserSource $body The request body * @param UserSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverycustodian-post-usersources?view=graph-rest-1.0 Find more info here */ public function post(UserSource $body, ?UserSourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(UserSource $body, ?UserSourcesRequestBuilderPostRequestConf } /** - * Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. + * Get a list of the userSource objects associated with an ediscoveryCustodian. * @param UserSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?UserSourcesRequestBuilderGetRequestConf } /** - * Create new navigation property to userSources for security + * Create a new userSource object associated with an eDiscovery custodian. * @param UserSource $body The request body * @param UserSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilderGetQueryParameters.php index 1bc58c55d5a..fb64c0a8114 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. + * Get a list of the userSource objects associated with an ediscoveryCustodian. */ class UserSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.php index 1f513be71ca..480510c4d3d 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.php @@ -47,10 +47,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property queries for security + * Delete an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-delete-queries?view=graph-rest-1.0 Find more info here */ public function delete(?EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -61,10 +62,11 @@ public function delete(?EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestC } /** - * Represents queries within the review set. + * Read the properties and relationships of an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-get?view=graph-rest-1.0 Find more info here */ public function get(?EdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -75,11 +77,12 @@ public function get(?EdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfigu } /** - * Update the navigation property queries in security + * Update the properties of an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQuery $body The request body * @param EdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-update?view=graph-rest-1.0 Find more info here */ public function patch(EdiscoveryReviewSetQuery $body, ?EdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -90,7 +93,7 @@ public function patch(EdiscoveryReviewSetQuery $body, ?EdiscoveryReviewSetQueryI } /** - * Delete navigation property queries for security + * Delete an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +111,7 @@ public function toDeleteRequestInformation(?EdiscoveryReviewSetQueryItemRequestB } /** - * Represents queries within the review set. + * Read the properties and relationships of an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -129,7 +132,7 @@ public function toGetRequestInformation(?EdiscoveryReviewSetQueryItemRequestBuil } /** - * Update the navigation property queries in security + * Update the properties of an ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQuery $body The request body * @param EdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters.php index 09c1daa9d88..aad3519124a 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents queries within the review set. + * Read the properties and relationships of an ediscoveryReviewSetQuery object. */ class EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.php index 6fd5793b615..fa41e551a8f 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents queries within the review set. + * Get the list of queries associated with an eDiscovery review set. * @param QueriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-list-queries?view=graph-rest-1.0 Find more info here */ public function get(?QueriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?QueriesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create new navigation property to queries for security + * Create a new ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQuery $body The request body * @param QueriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-post-queries?view=graph-rest-1.0 Find more info here */ public function post(EdiscoveryReviewSetQuery $body, ?QueriesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(EdiscoveryReviewSetQuery $body, ?QueriesRequestBuilderPostR } /** - * Represents queries within the review set. + * Get the list of queries associated with an eDiscovery review set. * @param QueriesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?QueriesRequestBuilderGetRequestConfigur } /** - * Create new navigation property to queries for security + * Create a new ediscoveryReviewSetQuery object. * @param EdiscoveryReviewSetQuery $body The request body * @param QueriesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilderGetQueryParameters.php index bdd0c7c5f2a..da5a3f3dacc 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents queries within the review set. + * Get the list of queries associated with an eDiscovery review set. */ class QueriesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.php index 4fa528aa74c..a87fb44b7f2 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds an additional source to the eDiscovery search. + * Get the list of additional sources associated with an eDiscovery search. * @param AdditionalSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-additionalsources?view=graph-rest-1.0 Find more info here */ public function get(?AdditionalSourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?AdditionalSourcesRequestBuilderGetRequestConfiguration $req } /** - * Create new navigation property to additionalSources for security + * Create a new additional source associated with an eDiscovery search. * @param DataSource $body The request body * @param AdditionalSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverysearch-post-additionalsources?view=graph-rest-1.0 Find more info here */ public function post(DataSource $body, ?AdditionalSourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(DataSource $body, ?AdditionalSourcesRequestBuilderPostReque } /** - * Adds an additional source to the eDiscovery search. + * Get the list of additional sources associated with an eDiscovery search. * @param AdditionalSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?AdditionalSourcesRequestBuilderGetReque } /** - * Create new navigation property to additionalSources for security + * Create a new additional source associated with an eDiscovery search. * @param DataSource $body The request body * @param AdditionalSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilderGetQueryParameters.php index 7b10d15e6d5..be75a9311b0 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Adds an additional source to the eDiscovery search. + * Get the list of additional sources associated with an eDiscovery search. */ class AdditionalSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.php index 78dd61c6dcf..1379fbd712e 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.php @@ -51,10 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Custodian sources that are included in the eDiscovery search. + * Get the list of custodial data sources associated with an eDiscovery search. * @param CustodianSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-custodiansources?view=graph-rest-1.0 Find more info here */ public function get(?CustodianSourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -65,7 +66,7 @@ public function get(?CustodianSourcesRequestBuilderGetRequestConfiguration $requ } /** - * Custodian sources that are included in the eDiscovery search. + * Get the list of custodial data sources associated with an eDiscovery search. * @param CustodianSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilderGetQueryParameters.php index 3afc014872a..55506005eb2 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Custodian sources that are included in the eDiscovery search. + * Get the list of custodial data sources associated with an eDiscovery search. */ class CustodianSourcesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php index 3d1fe938e20..aae40c47c8b 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The last estimate operation associated with the eDiscovery search. + * Get the last ediscoveryEstimateOperation objects and their properties. * @param LastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-lastestimatestatisticsoperation?view=graph-rest-1.0 Find more info here */ public function get(?LastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -45,7 +46,7 @@ public function get(?LastEstimateStatisticsOperationRequestBuilderGetRequestConf } /** - * The last estimate operation associated with the eDiscovery search. + * Get the last ediscoveryEstimateOperation objects and their properties. * @param LastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilderGetQueryParameters.php index af3d37206d8..b03af229f45 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The last estimate operation associated with the eDiscovery search. + * Get the last ediscoveryEstimateOperation objects and their properties. */ class LastEstimateStatisticsOperationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.php index a2ff7d09509..66eec56c021 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invoke function asHierarchy + * List eDiscovery review tags with the tag hierarchy shown. * @param MicrosoftGraphSecurityAsHierarchyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -44,7 +44,7 @@ public function get(?MicrosoftGraphSecurityAsHierarchyRequestBuilderGetRequestCo } /** - * Invoke function asHierarchy + * List eDiscovery review tags with the tag hierarchy shown. * @param MicrosoftGraphSecurityAsHierarchyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilderGetQueryParameters.php index b5bcf084b67..0f891a79114 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Invoke function asHierarchy + * List eDiscovery review tags with the tag hierarchy shown. */ class MicrosoftGraphSecurityAsHierarchyRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php index f63ec5bc9a3..6b4940a788b 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Version information for a document set version created by a user. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0 Find more info here */ public function get(?DocumentSetVersionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,11 +67,12 @@ public function get(?DocumentSetVersionsRequestBuilderGetRequestConfiguration $r } /** - * Create new navigation property to documentSetVersions for sites + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/listitem-post-documentsetversions?view=graph-rest-1.0 Find more info here */ public function post(DocumentSetVersion $body, ?DocumentSetVersionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -81,7 +83,7 @@ public function post(DocumentSetVersion $body, ?DocumentSetVersionsRequestBuilde } /** - * Version information for a document set version created by a user. + * Get a list of the versions of a document set item in a list. * @param DocumentSetVersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +104,7 @@ public function toGetRequestInformation(?DocumentSetVersionsRequestBuilderGetReq } /** - * Create new navigation property to documentSetVersions for sites + * Create a new version of a document set item in a list. * @param DocumentSetVersion $body The request body * @param DocumentSetVersionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php index 53d10b28b62..fa320c9182c 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Version information for a document set version created by a user. + * Get a list of the versions of a document set item in a list. */ class DocumentSetVersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php index 363b6e870c0..4aca2cfbeda 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.php @@ -47,10 +47,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property documentSetVersions for sites + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/documentsetversion-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -61,10 +62,11 @@ public function delete(?DocumentSetVersionItemRequestBuilderDeleteRequestConfigu } /** - * Version information for a document set version created by a user. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0 Find more info here */ public function get(?DocumentSetVersionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -90,7 +92,7 @@ public function patch(DocumentSetVersion $body, ?DocumentSetVersionItemRequestBu } /** - * Delete navigation property documentSetVersions for sites + * Delete a version of a document set in a list. * @param DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -108,7 +110,7 @@ public function toDeleteRequestInformation(?DocumentSetVersionItemRequestBuilder } /** - * Version information for a document set version created by a user. + * Read the properties and relationships of a documentSetVersion object. * @param DocumentSetVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php index b7a10812262..a75d5d9de8a 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Version information for a document set version created by a user. + * Read the properties and relationships of a documentSetVersion object. */ class DocumentSetVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php index d3c32835218..3f262788ed5 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.php @@ -59,11 +59,12 @@ public function get(?FieldsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Update the navigation property fields in sites + * Update the properties on a listItem. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/listitem-update?view=graph-rest-1.0 Find more info here */ public function patch(FieldValueSet $body, ?FieldsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -113,7 +114,7 @@ public function toGetRequestInformation(?FieldsRequestBuilderGetRequestConfigura } /** - * Update the navigation property fields in sites + * Update the properties on a listItem. * @param FieldValueSet $body The request body * @param FieldsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php index 24e5b990bc7..b005630bfc0 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.php @@ -61,10 +61,11 @@ public function delete(?ListItemVersionItemRequestBuilderDeleteRequestConfigurat } /** - * The list of previous versions of the list item. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/listitemversion-get?view=graph-rest-1.0 Find more info here */ public function get(?ListItemVersionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -108,7 +109,7 @@ public function toDeleteRequestInformation(?ListItemVersionItemRequestBuilderDel } /** - * The list of previous versions of the list item. + * Retrieve the metadata for a specific version of a ListItem. * @param ListItemVersionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php index 31a39e93d31..5fd2fe797f1 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The list of previous versions of the list item. + * Retrieve the metadata for a specific version of a ListItem. */ class ListItemVersionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php index a73d6902816..74bd5b163e0 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The list of previous versions of the list item. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/listitem-list-versions?view=graph-rest-1.0 Find more info here */ public function get(?VersionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(ListItemVersion $body, ?VersionsRequestBuilderPostRequestCo } /** - * The list of previous versions of the list item. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. * @param VersionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php index 8161e643ad5..225d966f5a2 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The list of previous versions of the list item. + * SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. */ class VersionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php index c03e7cf99ff..624c79020e2 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -109,11 +109,11 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Returns the metadata for a list. + * Get a list of rich long-running operations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -157,7 +157,7 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC } /** - * Returns the metadata for a list. + * Get a list of rich long-running operations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php index aed7732a9cd..779041bf847 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Returns the metadata for a list. + * Get a list of rich long-running operations associated with a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php index fe80efe840d..4b862db60dc 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.php @@ -69,10 +69,11 @@ public function delete(?TermItemRequestBuilderDeleteRequestConfiguration $reques } /** - * All the terms under the set. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 Find more info here */ public function get(?TermItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -116,7 +117,7 @@ public function toDeleteRequestInformation(?TermItemRequestBuilderDeleteRequestC } /** - * All the terms under the set. + * Read the properties and relationships of a term object. * @param TermItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php index 1459bd6c90c..89054d51218 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * All the terms under the set. + * Read the properties and relationships of a term object. */ class TermItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php index 39ee0a184ca..c85b41a8b73 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * All the terms under the set. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(Term $body, ?TermsRequestBuilderPostRequestConfiguration $r } /** - * All the terms under the set. + * Read the properties and relationships of a term object. * @param TermsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php index b0b78d8a160..e2cabdbcd3e 100644 --- a/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * All the terms under the set. + * Read the properties and relationships of a term object. */ class TermsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php index 9e32735a34c..7cbcd01cc4f 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The attendance reports of an online meeting. Read-only. + * Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 Find more info here */ public function get(?AttendanceReportsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(MeetingAttendanceReport $body, ?AttendanceReportsRequestBui } /** - * The attendance reports of an online meeting. Read-only. + * Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. * @param AttendanceReportsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php index cce839fca42..13c4ab8e67d 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/AttendanceReportsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The attendance reports of an online meeting. Read-only. + * Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. */ class AttendanceReportsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php index 99979673783..70134a28043 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.php @@ -53,10 +53,11 @@ public function delete(?MeetingAttendanceReportItemRequestBuilderDeleteRequestCo } /** - * The attendance reports of an online meeting. Read-only. + * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 Find more info here */ public function get(?MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -100,7 +101,7 @@ public function toDeleteRequestInformation(?MeetingAttendanceReportItemRequestBu } /** - * The attendance reports of an online meeting. Read-only. + * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. * @param MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php index 12527170ed3..ecb94e21221 100644 --- a/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Solutions/VirtualEvents/Webinars/Item/Sessions/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The attendance reports of an online meeting. Read-only. + * Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. */ class MeetingAttendanceReportItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilder.php index f8133d94ea8..6ef72906ce3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilder.php @@ -44,7 +44,7 @@ public function byListItemId(string $listItemId): ListItemItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items{?%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/list/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php index 6df1f873cbf..0726b108bfc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class ItemsRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24count") + * @var bool|null $count Include count of items + */ + public ?bool $count = null; + /** * @QueryParameter("%24expand") * @var array|null $expand Expand related entities @@ -53,6 +59,7 @@ class ItemsRequestBuilderGetQueryParameters /** * Instantiates a new ItemsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -61,7 +68,8 @@ class ItemsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { + $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetRequestConfiguration.php index f0c329eaf1d..343eb624142 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/EscapedList/Items/ItemsRequestBuilderGetRequestConfiguration.php @@ -28,6 +28,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ite /** * Instantiates a new ItemsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ite * @param int|null $top Show only the first n items * @return ItemsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ItemsRequestBuilderGetQueryParameters { - return new ItemsRequestBuilderGetQueryParameters($expand, $filter, $orderby, $search, $select, $skip, $top); + 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): ItemsRequestBuilderGetQueryParameters { + return new ItemsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php index ae8481c2b30..29210b1600e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Abs/AbsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Abs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php index 26124723325..f6c1c3001c9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrInt/AccrIntPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\AccrInt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the calcMethod property value. The calcMethod property - * @return Json|null - */ - public function getCalcMethod(): ?Json { - $val = $this->getBackingStore()->get('calcMethod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'calcMethod'"); - } - /** * The deserialization information for the current model * @return array @@ -87,102 +62,14 @@ public function getCalcMethod(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'calcMethod' => fn(ParseNode $n) => $o->setCalcMethod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstInterest' => fn(ParseNode $n) => $o->setFirstInterest($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'par' => fn(ParseNode $n) => $o->setPar($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstInterest property value. The firstInterest property - * @return Json|null - */ - public function getFirstInterest(): ?Json { - $val = $this->getBackingStore()->get('firstInterest'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstInterest'"); - } - - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the par property value. The par property - * @return Json|null - */ - public function getPar(): ?Json { - $val = $this->getBackingStore()->get('par'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'par'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('calcMethod', $this->getCalcMethod()); - $writer->writeObjectValue('firstInterest', $this->getFirstInterest()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('par', $this->getPar()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -202,68 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the calcMethod property value. The calcMethod property - * @param Json|null $value Value to set for the calcMethod property. - */ - public function setCalcMethod(?Json $value): void { - $this->getBackingStore()->set('calcMethod', $value); - } - - /** - * Sets the firstInterest property value. The firstInterest property - * @param Json|null $value Value to set for the firstInterest property. - */ - public function setFirstInterest(?Json $value): void { - $this->getBackingStore()->set('firstInterest', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the par property value. The par property - * @param Json|null $value Value to set for the par property. - */ - public function setPar(?Json $value): void { - $this->getBackingStore()->set('par', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php index 47bf504263b..bef048b0e41 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AccrIntM/AccrIntMPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\AccrIntM; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'par' => fn(ParseNode $n) => $o->setPar($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the par property value. The par property - * @return Json|null - */ - public function getPar(): ?Json { - $val = $this->getBackingStore()->get('par'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'par'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('par', $this->getPar()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the par property value. The par property - * @param Json|null $value Value to set for the par property. - */ - public function setPar(?Json $value): void { - $this->getBackingStore()->set('par', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php index 2c207b960dc..619df12ac3b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acos/AcosPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Acos; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php index f284c0896c0..375697456fb 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acosh/AcoshPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Acosh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php index f43128db2cf..c4cf3c99fc8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acot/AcotPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Acot; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php index 5266faeccc5..d2ee013b5a1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Acoth/AcothPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Acoth; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php index 72a02755845..c7f72b2fb9d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\AmorDegrc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - - /** - * Gets the datePurchased property value. The datePurchased property - * @return Json|null - */ - public function getDatePurchased(): ?Json { - $val = $this->getBackingStore()->get('datePurchased'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'datePurchased'"); - } - /** * The deserialization information for the current model * @return array @@ -99,76 +62,14 @@ public function getDatePurchased(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'datePurchased' => fn(ParseNode $n) => $o->setDatePurchased($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstPeriod' => fn(ParseNode $n) => $o->setFirstPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'period' => fn(ParseNode $n) => $o->setPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstPeriod property value. The firstPeriod property - * @return Json|null - */ - public function getFirstPeriod(): ?Json { - $val = $this->getBackingStore()->get('firstPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstPeriod'"); - } - - /** - * Gets the period property value. The period property - * @return Json|null - */ - public function getPeriod(): ?Json { - $val = $this->getBackingStore()->get('period'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'period'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('datePurchased', $this->getDatePurchased()); - $writer->writeObjectValue('firstPeriod', $this->getFirstPeriod()); - $writer->writeObjectValue('period', $this->getPeriod()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the datePurchased property value. The datePurchased property - * @param Json|null $value Value to set for the datePurchased property. - */ - public function setDatePurchased(?Json $value): void { - $this->getBackingStore()->set('datePurchased', $value); - } - - /** - * Sets the firstPeriod property value. The firstPeriod property - * @param Json|null $value Value to set for the firstPeriod property. - */ - public function setFirstPeriod(?Json $value): void { - $this->getBackingStore()->set('firstPeriod', $value); - } - - /** - * Sets the period property value. The period property - * @param Json|null $value Value to set for the period property. - */ - public function setPeriod(?Json $value): void { - $this->getBackingStore()->set('period', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php index 527b32e12c1..fd6e7a1699d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AmorLinc/AmorLincPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\AmorLinc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - - /** - * Gets the datePurchased property value. The datePurchased property - * @return Json|null - */ - public function getDatePurchased(): ?Json { - $val = $this->getBackingStore()->get('datePurchased'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'datePurchased'"); - } - /** * The deserialization information for the current model * @return array @@ -99,76 +62,14 @@ public function getDatePurchased(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'datePurchased' => fn(ParseNode $n) => $o->setDatePurchased($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstPeriod' => fn(ParseNode $n) => $o->setFirstPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'period' => fn(ParseNode $n) => $o->setPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstPeriod property value. The firstPeriod property - * @return Json|null - */ - public function getFirstPeriod(): ?Json { - $val = $this->getBackingStore()->get('firstPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstPeriod'"); - } - - /** - * Gets the period property value. The period property - * @return Json|null - */ - public function getPeriod(): ?Json { - $val = $this->getBackingStore()->get('period'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'period'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('datePurchased', $this->getDatePurchased()); - $writer->writeObjectValue('firstPeriod', $this->getFirstPeriod()); - $writer->writeObjectValue('period', $this->getPeriod()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the datePurchased property value. The datePurchased property - * @param Json|null $value Value to set for the datePurchased property. - */ - public function setDatePurchased(?Json $value): void { - $this->getBackingStore()->set('datePurchased', $value); - } - - /** - * Sets the firstPeriod property value. The firstPeriod property - * @param Json|null $value Value to set for the firstPeriod property. - */ - public function setFirstPeriod(?Json $value): void { - $this->getBackingStore()->set('firstPeriod', $value); - } - - /** - * Sets the period property value. The period property - * @param Json|null $value Value to set for the period property. - */ - public function setPeriod(?Json $value): void { - $this->getBackingStore()->set('period', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php index eef6e6dd315..b3072e11e2d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Arabic/ArabicPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Arabic; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php index 5df5a491337..4c597f3a0fc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Areas/AreasPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Areas; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php index 1f8d7241493..a1734c2ecf2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asc/AscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Asc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php index 752391b3628..4521c46dde6 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asin/AsinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Asin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php index 230f7971069..5d427db0280 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Asinh/AsinhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Asinh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php index be2c7fe98d1..a2d4cbba4f2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan/AtanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Atan; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php index c205102f49e..a7dbf8b96c7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atan2/Atan2PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Atan2; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'xNum' => fn(ParseNode $n) => $o->setXNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yNum' => fn(ParseNode $n) => $o->setYNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the xNum property value. The xNum property - * @return Json|null - */ - public function getXNum(): ?Json { - $val = $this->getBackingStore()->get('xNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'xNum'"); - } - - /** - * Gets the yNum property value. The yNum property - * @return Json|null - */ - public function getYNum(): ?Json { - $val = $this->getBackingStore()->get('yNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yNum'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('xNum', $this->getXNum()); - $writer->writeObjectValue('yNum', $this->getYNum()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the xNum property value. The xNum property - * @param Json|null $value Value to set for the xNum property. - */ - public function setXNum(?Json $value): void { - $this->getBackingStore()->set('xNum', $value); - } - - /** - * Sets the yNum property value. The yNum property - * @param Json|null $value Value to set for the yNum property. - */ - public function setYNum(?Json $value): void { - $this->getBackingStore()->set('yNum', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php index 2dd345805ec..47a2fc38854 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Atanh/AtanhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Atanh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php index 5cf1e0ab49e..fe869e7f9ad 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AveDev/AveDevPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\AveDev; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php index 75a922b2781..e0d45b5367a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Average/AveragePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Average; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php index f7f8e98c906..2a5db51d0cf 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageA/AverageAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\AverageA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php index a200bbefbda..0940c6f1d05 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIf/AverageIfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\AverageIf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the averageRange property value. The averageRange property - * @return Json|null - */ - public function getAverageRange(): ?Json { - $val = $this->getBackingStore()->get('averageRange'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'averageRange'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -68,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getCriteria(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'averageRange' => fn(ParseNode $n) => $o->setAverageRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'range' => fn(ParseNode $n) => $o->setRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the range property value. The range property - * @return Json|null - */ - public function getRange(): ?Json { - $val = $this->getBackingStore()->get('range'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'range'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('averageRange', $this->getAverageRange()); - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('range', $this->getRange()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the averageRange property value. The averageRange property - * @param Json|null $value Value to set for the averageRange property. - */ - public function setAverageRange(?Json $value): void { - $this->getBackingStore()->set('averageRange', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the range property value. The range property - * @param Json|null $value Value to set for the range property. - */ - public function setRange(?Json $value): void { - $this->getBackingStore()->set('range', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php index c163bc9d5d8..8b8058c50a4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/AverageIfs/AverageIfsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\AverageIfs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the averageRange property value. The averageRange property - * @return Json|null - */ - public function getAverageRange(): ?Json { - $val = $this->getBackingStore()->get('averageRange'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'averageRange'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'averageRange' => fn(ParseNode $n) => $o->setAverageRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('averageRange', $this->getAverageRange()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the averageRange property value. The averageRange property - * @param Json|null $value Value to set for the averageRange property. - */ - public function setAverageRange(?Json $value): void { - $this->getBackingStore()->set('averageRange', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php index 11450cf5916..80a5d355847 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BahtText/BahtTextPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\BahtText; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php index 7f744362f50..74e2463f946 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Base/BasePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Base; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'minLength' => fn(ParseNode $n) => $o->setMinLength($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'radix' => fn(ParseNode $n) => $o->setRadix($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the minLength property value. The minLength property - * @return Json|null - */ - public function getMinLength(): ?Json { - $val = $this->getBackingStore()->get('minLength'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'minLength'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the radix property value. The radix property - * @return Json|null - */ - public function getRadix(): ?Json { - $val = $this->getBackingStore()->get('radix'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'radix'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('minLength', $this->getMinLength()); - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('radix', $this->getRadix()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the minLength property value. The minLength property - * @param Json|null $value Value to set for the minLength property. - */ - public function setMinLength(?Json $value): void { - $this->getBackingStore()->set('minLength', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the radix property value. The radix property - * @param Json|null $value Value to set for the radix property. - */ - public function setRadix(?Json $value): void { - $this->getBackingStore()->set('radix', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php index 35c1a8055e1..aa2abc4e545 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselI/BesselIPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\BesselI; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php index 3207a259d13..57aa88e0f10 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselJ/BesselJPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\BesselJ; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php index 11e4a0d55d4..4cb4898c87f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselK/BesselKPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\BesselK; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php index 10db848a5d4..42137b79962 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/BesselY/BesselYPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\BesselY; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php index 3a43f263d20..2730a19a6e0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Beta_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -35,18 +34,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Beta_ return new Beta_DistPostRequestBody(); } - /** - * Gets the A property value. The A property - * @return Json|null - */ - public function getA(): ?Json { - $val = $this->getBackingStore()->get('a'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'a'"); - } - /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @return array|null @@ -60,30 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - - /** - * Gets the B property value. The B property - * @return Json|null - */ - public function getB(): ?Json { - $val = $this->getBackingStore()->get('b'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'b'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -92,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -123,49 +62,17 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'A' => fn(ParseNode $n) => $o->setA($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'B' => fn(ParseNode $n) => $o->setB($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('A', $this->getA()); - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('B', $this->getB()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } - /** - * Sets the A property value. The A property - * @param Json|null $value Value to set for the A property. - */ - public function setA(?Json $value): void { - $this->getBackingStore()->set('a', $value); - } - /** * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @param array $value Value to set for the AdditionalData property. @@ -174,22 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - - /** - * Sets the B property value. The B property - * @param Json|null $value Value to set for the B property. - */ - public function setB(?Json $value): void { - $this->getBackingStore()->set('b', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -198,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php index 334964937c3..a1217567ac6 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Beta_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -35,18 +34,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Beta_ return new Beta_InvPostRequestBody(); } - /** - * Gets the A property value. The A property - * @return Json|null - */ - public function getA(): ?Json { - $val = $this->getBackingStore()->get('a'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'a'"); - } - /** * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @return array|null @@ -60,30 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - - /** - * Gets the B property value. The B property - * @return Json|null - */ - public function getB(): ?Json { - $val = $this->getBackingStore()->get('b'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'b'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -92,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - /** * The deserialization information for the current model * @return array @@ -111,47 +62,17 @@ public function getBeta(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'A' => fn(ParseNode $n) => $o->setA($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'B' => fn(ParseNode $n) => $o->setB($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('A', $this->getA()); - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('B', $this->getB()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } - /** - * Sets the A property value. The A property - * @param Json|null $value Value to set for the A property. - */ - public function setA(?Json $value): void { - $this->getBackingStore()->set('a', $value); - } - /** * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. * @param array $value Value to set for the AdditionalData property. @@ -160,22 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - - /** - * Sets the B property value. The B property - * @param Json|null $value Value to set for the B property. - */ - public function setB(?Json $value): void { - $this->getBackingStore()->set('b', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -184,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php index ae563d02262..8829ba1790a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Bin2Dec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php index f34a43f274c..7718c2cb674 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Bin2Hex; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php index 20f2801882c..d8f4aff092f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Bin2Oct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php index 02eeaa848ae..917a76d8818 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Binom_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberS' => fn(ParseNode $n) => $o->setNumberS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probabilityS' => fn(ParseNode $n) => $o->setProbabilityS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'trials' => fn(ParseNode $n) => $o->setTrials($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberS property value. The numberS property - * @return Json|null - */ - public function getNumberS(): ?Json { - $val = $this->getBackingStore()->get('numberS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberS'"); - } - - /** - * Gets the probabilityS property value. The probabilityS property - * @return Json|null - */ - public function getProbabilityS(): ?Json { - $val = $this->getBackingStore()->get('probabilityS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probabilityS'"); - } - - /** - * Gets the trials property value. The trials property - * @return Json|null - */ - public function getTrials(): ?Json { - $val = $this->getBackingStore()->get('trials'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'trials'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('numberS', $this->getNumberS()); - $writer->writeObjectValue('probabilityS', $this->getProbabilityS()); - $writer->writeObjectValue('trials', $this->getTrials()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the numberS property value. The numberS property - * @param Json|null $value Value to set for the numberS property. - */ - public function setNumberS(?Json $value): void { - $this->getBackingStore()->set('numberS', $value); - } - - /** - * Sets the probabilityS property value. The probabilityS property - * @param Json|null $value Value to set for the probabilityS property. - */ - public function setProbabilityS(?Json $value): void { - $this->getBackingStore()->set('probabilityS', $value); - } - - /** - * Sets the trials property value. The trials property - * @param Json|null $value Value to set for the trials property. - */ - public function setTrials(?Json $value): void { - $this->getBackingStore()->set('trials', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php index ba1b1ab3b7d..dbbbd61aac3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Binom_Dist_Range; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numberS' => fn(ParseNode $n) => $o->setNumberS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberS2' => fn(ParseNode $n) => $o->setNumberS2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probabilityS' => fn(ParseNode $n) => $o->setProbabilityS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'trials' => fn(ParseNode $n) => $o->setTrials($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberS property value. The numberS property - * @return Json|null - */ - public function getNumberS(): ?Json { - $val = $this->getBackingStore()->get('numberS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberS'"); - } - - /** - * Gets the numberS2 property value. The numberS2 property - * @return Json|null - */ - public function getNumberS2(): ?Json { - $val = $this->getBackingStore()->get('numberS2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberS2'"); - } - - /** - * Gets the probabilityS property value. The probabilityS property - * @return Json|null - */ - public function getProbabilityS(): ?Json { - $val = $this->getBackingStore()->get('probabilityS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probabilityS'"); - } - - /** - * Gets the trials property value. The trials property - * @return Json|null - */ - public function getTrials(): ?Json { - $val = $this->getBackingStore()->get('trials'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'trials'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numberS', $this->getNumberS()); - $writer->writeObjectValue('numberS2', $this->getNumberS2()); - $writer->writeObjectValue('probabilityS', $this->getProbabilityS()); - $writer->writeObjectValue('trials', $this->getTrials()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numberS property value. The numberS property - * @param Json|null $value Value to set for the numberS property. - */ - public function setNumberS(?Json $value): void { - $this->getBackingStore()->set('numberS', $value); - } - - /** - * Sets the numberS2 property value. The numberS2 property - * @param Json|null $value Value to set for the numberS2 property. - */ - public function setNumberS2(?Json $value): void { - $this->getBackingStore()->set('numberS2', $value); - } - - /** - * Sets the probabilityS property value. The probabilityS property - * @param Json|null $value Value to set for the probabilityS property. - */ - public function setProbabilityS(?Json $value): void { - $this->getBackingStore()->set('probabilityS', $value); - } - - /** - * Sets the trials property value. The trials property - * @param Json|null $value Value to set for the trials property. - */ - public function setTrials(?Json $value): void { - $this->getBackingStore()->set('trials', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php index bdcba463776..fba0333767d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Binom_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probabilityS' => fn(ParseNode $n) => $o->setProbabilityS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'trials' => fn(ParseNode $n) => $o->setTrials($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probabilityS property value. The probabilityS property - * @return Json|null - */ - public function getProbabilityS(): ?Json { - $val = $this->getBackingStore()->get('probabilityS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probabilityS'"); - } - - /** - * Gets the trials property value. The trials property - * @return Json|null - */ - public function getTrials(): ?Json { - $val = $this->getBackingStore()->get('trials'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'trials'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('probabilityS', $this->getProbabilityS()); - $writer->writeObjectValue('trials', $this->getTrials()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the probabilityS property value. The probabilityS property - * @param Json|null $value Value to set for the probabilityS property. - */ - public function setProbabilityS(?Json $value): void { - $this->getBackingStore()->set('probabilityS', $value); - } - - /** - * Sets the trials property value. The trials property - * @param Json|null $value Value to set for the trials property. - */ - public function setTrials(?Json $value): void { - $this->getBackingStore()->set('trials', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php index 85e935ce0d9..ac7b1abb4fd 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitand/BitandPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Bitand; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number1' => fn(ParseNode $n) => $o->setNumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number2' => fn(ParseNode $n) => $o->setNumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number1 property value. The number1 property - * @return Json|null - */ - public function getNumber1(): ?Json { - $val = $this->getBackingStore()->get('number1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number1'"); - } - - /** - * Gets the number2 property value. The number2 property - * @return Json|null - */ - public function getNumber2(): ?Json { - $val = $this->getBackingStore()->get('number2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number1', $this->getNumber1()); - $writer->writeObjectValue('number2', $this->getNumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number1 property value. The number1 property - * @param Json|null $value Value to set for the number1 property. - */ - public function setNumber1(?Json $value): void { - $this->getBackingStore()->set('number1', $value); - } - - /** - * Sets the number2 property value. The number2 property - * @param Json|null $value Value to set for the number2 property. - */ - public function setNumber2(?Json $value): void { - $this->getBackingStore()->set('number2', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php index 9ad35c56e2e..d804df1ad81 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitlshift/BitlshiftPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Bitlshift; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'shiftAmount' => fn(ParseNode $n) => $o->setShiftAmount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the shiftAmount property value. The shiftAmount property - * @return Json|null - */ - public function getShiftAmount(): ?Json { - $val = $this->getBackingStore()->get('shiftAmount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'shiftAmount'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('shiftAmount', $this->getShiftAmount()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the shiftAmount property value. The shiftAmount property - * @param Json|null $value Value to set for the shiftAmount property. - */ - public function setShiftAmount(?Json $value): void { - $this->getBackingStore()->set('shiftAmount', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php index ade3cb10d9f..0039552b796 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitor/BitorPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Bitor; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number1' => fn(ParseNode $n) => $o->setNumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number2' => fn(ParseNode $n) => $o->setNumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number1 property value. The number1 property - * @return Json|null - */ - public function getNumber1(): ?Json { - $val = $this->getBackingStore()->get('number1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number1'"); - } - - /** - * Gets the number2 property value. The number2 property - * @return Json|null - */ - public function getNumber2(): ?Json { - $val = $this->getBackingStore()->get('number2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number1', $this->getNumber1()); - $writer->writeObjectValue('number2', $this->getNumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number1 property value. The number1 property - * @param Json|null $value Value to set for the number1 property. - */ - public function setNumber1(?Json $value): void { - $this->getBackingStore()->set('number1', $value); - } - - /** - * Sets the number2 property value. The number2 property - * @param Json|null $value Value to set for the number2 property. - */ - public function setNumber2(?Json $value): void { - $this->getBackingStore()->set('number2', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php index 33a65df039e..1d03fc3d542 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitrshift/BitrshiftPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Bitrshift; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'shiftAmount' => fn(ParseNode $n) => $o->setShiftAmount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the shiftAmount property value. The shiftAmount property - * @return Json|null - */ - public function getShiftAmount(): ?Json { - $val = $this->getBackingStore()->get('shiftAmount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'shiftAmount'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('shiftAmount', $this->getShiftAmount()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the shiftAmount property value. The shiftAmount property - * @param Json|null $value Value to set for the shiftAmount property. - */ - public function setShiftAmount(?Json $value): void { - $this->getBackingStore()->set('shiftAmount', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php index e887e6c9a59..e3a6eb5c99a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Bitxor/BitxorPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Bitxor; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number1' => fn(ParseNode $n) => $o->setNumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number2' => fn(ParseNode $n) => $o->setNumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number1 property value. The number1 property - * @return Json|null - */ - public function getNumber1(): ?Json { - $val = $this->getBackingStore()->get('number1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number1'"); - } - - /** - * Gets the number2 property value. The number2 property - * @return Json|null - */ - public function getNumber2(): ?Json { - $val = $this->getBackingStore()->get('number2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number1', $this->getNumber1()); - $writer->writeObjectValue('number2', $this->getNumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number1 property value. The number1 property - * @param Json|null $value Value to set for the number1 property. - */ - public function setNumber1(?Json $value): void { - $this->getBackingStore()->set('number1', $value); - } - - /** - * Sets the number2 property value. The number2 property - * @param Json|null $value Value to set for the number2 property. - */ - public function setNumber2(?Json $value): void { - $this->getBackingStore()->set('number2', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php index 20ab4b55fd4..7ae77e8daf0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Ceiling_Math; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mode' => fn(ParseNode $n) => $o->setMode($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mode property value. The mode property - * @return Json|null - */ - public function getMode(): ?Json { - $val = $this->getBackingStore()->get('mode'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mode'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mode', $this->getMode()); - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mode property value. The mode property - * @param Json|null $value Value to set for the mode property. - */ - public function setMode(?Json $value): void { - $this->getBackingStore()->set('mode', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php index fb7474bb480..2cc8196ffa0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Ceiling_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php index f30e55141da..c59ce59f8ce 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Char/CharPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Char; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php index bffeaf22054..d69215a1946 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ChiSq_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php index 58a5e50ec57..358982af63c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ChiSq_Dist_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php index 1dd302386dc..6c3479af67e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ChiSq_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php index 0fead4b128e..295e7695442 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ChiSq_Inv_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php index 53afe1f3f6b..232ffd3b4d1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Choose/ChoosePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Choose; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'indexNum' => fn(ParseNode $n) => $o->setIndexNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the indexNum property value. The indexNum property - * @return Json|null - */ - public function getIndexNum(): ?Json { - $val = $this->getBackingStore()->get('indexNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'indexNum'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('indexNum', $this->getIndexNum()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the indexNum property value. The indexNum property - * @param Json|null $value Value to set for the indexNum property. - */ - public function setIndexNum(?Json $value): void { - $this->getBackingStore()->set('indexNum', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php index 55007691c38..7cd022a59a6 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Clean/CleanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Clean; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php index ab1954a4e65..b312888666c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Code/CodePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Code; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php index 2dabcd6e25a..feb6f2a9fb1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Columns/ColumnsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Columns; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,7 +62,6 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -96,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php index 05c6060c0f5..467ef726074 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combin/CombinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Combin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberChosen' => fn(ParseNode $n) => $o->setNumberChosen($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numberChosen property value. The numberChosen property - * @return Json|null - */ - public function getNumberChosen(): ?Json { - $val = $this->getBackingStore()->get('numberChosen'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberChosen'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numberChosen', $this->getNumberChosen()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numberChosen property value. The numberChosen property - * @param Json|null $value Value to set for the numberChosen property. - */ - public function setNumberChosen(?Json $value): void { - $this->getBackingStore()->set('numberChosen', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php index 7f1844cd527..6006474806d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Combina/CombinaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Combina; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberChosen' => fn(ParseNode $n) => $o->setNumberChosen($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numberChosen property value. The numberChosen property - * @return Json|null - */ - public function getNumberChosen(): ?Json { - $val = $this->getBackingStore()->get('numberChosen'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberChosen'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numberChosen', $this->getNumberChosen()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numberChosen property value. The numberChosen property - * @param Json|null $value Value to set for the numberChosen property. - */ - public function setNumberChosen(?Json $value): void { - $this->getBackingStore()->set('numberChosen', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php index efb6d204a98..1d114b307ac 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Complex/ComplexPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Complex; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'iNum' => fn(ParseNode $n) => $o->setINum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'realNum' => fn(ParseNode $n) => $o->setRealNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'suffix' => fn(ParseNode $n) => $o->setSuffix($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the iNum property value. The iNum property - * @return Json|null - */ - public function getINum(): ?Json { - $val = $this->getBackingStore()->get('iNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'iNum'"); - } - - /** - * Gets the realNum property value. The realNum property - * @return Json|null - */ - public function getRealNum(): ?Json { - $val = $this->getBackingStore()->get('realNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'realNum'"); - } - - /** - * Gets the suffix property value. The suffix property - * @return Json|null - */ - public function getSuffix(): ?Json { - $val = $this->getBackingStore()->get('suffix'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'suffix'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('iNum', $this->getINum()); - $writer->writeObjectValue('realNum', $this->getRealNum()); - $writer->writeObjectValue('suffix', $this->getSuffix()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the iNum property value. The iNum property - * @param Json|null $value Value to set for the iNum property. - */ - public function setINum(?Json $value): void { - $this->getBackingStore()->set('iNum', $value); - } - - /** - * Sets the realNum property value. The realNum property - * @param Json|null $value Value to set for the realNum property. - */ - public function setRealNum(?Json $value): void { - $this->getBackingStore()->set('realNum', $value); - } - - /** - * Sets the suffix property value. The suffix property - * @param Json|null $value Value to set for the suffix property. - */ - public function setSuffix(?Json $value): void { - $this->getBackingStore()->set('suffix', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php index 5d4cbafc63c..67301c41f47 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Concatenate/ConcatenatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Concatenate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php index aa2f21b22a9..a260924faba 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Confidence_Norm; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'size' => fn(ParseNode $n) => $o->setSize($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the size property value. The size property - * @return Json|null - */ - public function getSize(): ?Json { - $val = $this->getBackingStore()->get('size'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'size'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('size', $this->getSize()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the size property value. The size property - * @param Json|null $value Value to set for the size property. - */ - public function setSize(?Json $value): void { - $this->getBackingStore()->set('size', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php index b122df44305..75e76761fd8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Confidence_T/Confidence_TPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Confidence_T; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'size' => fn(ParseNode $n) => $o->setSize($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the size property value. The size property - * @return Json|null - */ - public function getSize(): ?Json { - $val = $this->getBackingStore()->get('size'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'size'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('size', $this->getSize()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the size property value. The size property - * @param Json|null $value Value to set for the size property. - */ - public function setSize(?Json $value): void { - $this->getBackingStore()->set('size', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php index af63702d9c7..f4707e195ea 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Convert/ConvertPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Convert; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fromUnit' => fn(ParseNode $n) => $o->setFromUnit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'toUnit' => fn(ParseNode $n) => $o->setToUnit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fromUnit property value. The fromUnit property - * @return Json|null - */ - public function getFromUnit(): ?Json { - $val = $this->getBackingStore()->get('fromUnit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fromUnit'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the toUnit property value. The toUnit property - * @return Json|null - */ - public function getToUnit(): ?Json { - $val = $this->getBackingStore()->get('toUnit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'toUnit'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fromUnit', $this->getFromUnit()); - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('toUnit', $this->getToUnit()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fromUnit property value. The fromUnit property - * @param Json|null $value Value to set for the fromUnit property. - */ - public function setFromUnit(?Json $value): void { - $this->getBackingStore()->set('fromUnit', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the toUnit property value. The toUnit property - * @param Json|null $value Value to set for the toUnit property. - */ - public function setToUnit(?Json $value): void { - $this->getBackingStore()->set('toUnit', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php index a43878606fe..c0aa7454264 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cos/CosPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Cos; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php index d6602c49f9a..2a5b029db65 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cosh/CoshPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Cosh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php index f283b6803b6..4329968312b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Cot/CotPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Cot; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php index f13c2b3ffc8..f36f7e45705 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Coth/CothPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Coth; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php index 837faa7598f..b025e0d5dbf 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Count/CountPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Count; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php index b9e618398ae..e0a444e483c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountA/CountAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CountA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php index 264c0813210..28682867275 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountBlank/CountBlankPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CountBlank; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'range' => fn(ParseNode $n) => $o->setRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the range property value. The range property - * @return Json|null - */ - public function getRange(): ?Json { - $val = $this->getBackingStore()->get('range'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'range'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('range', $this->getRange()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the range property value. The range property - * @param Json|null $value Value to set for the range property. - */ - public function setRange(?Json $value): void { - $this->getBackingStore()->set('range', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php index 257f5f3e42e..97f32309e50 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIf/CountIfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CountIf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getCriteria(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'range' => fn(ParseNode $n) => $o->setRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the range property value. The range property - * @return Json|null - */ - public function getRange(): ?Json { - $val = $this->getBackingStore()->get('range'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'range'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('range', $this->getRange()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the range property value. The range property - * @param Json|null $value Value to set for the range property. - */ - public function setRange(?Json $value): void { - $this->getBackingStore()->set('range', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php index 3d95cede34f..e1954f41998 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CountIfs/CountIfsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CountIfs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php index 05fd8e9dd62..6a1b6b4b0e7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CoupDayBs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php index e0d82110430..f745fc6ad5d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDays/CoupDaysPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CoupDays; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php index 16a20dcedee..d7a1096fd73 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CoupDaysNc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php index ce305e36b06..8c0da72a8e0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNcd/CoupNcdPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CoupNcd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php index 4848b97e23b..d0574b1f6e4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupNum/CoupNumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CoupNum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php index 0ce881c60b9..93ff0d74b84 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CoupPcd/CoupPcdPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CoupPcd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php index 4b494947cea..18062c1a696 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csc/CscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Csc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php index 50bf6cc0265..d0144187be2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Csch/CschPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Csch; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php index 403a465f0c6..7851efb53bc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumIPmt/CumIPmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CumIPmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endPeriod property value. The endPeriod property - * @return Json|null - */ - public function getEndPeriod(): ?Json { - $val = $this->getBackingStore()->get('endPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endPeriod'"); - } - /** * The deserialization information for the current model * @return array @@ -75,86 +62,14 @@ public function getEndPeriod(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endPeriod' => fn(ParseNode $n) => $o->setEndPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startPeriod' => fn(ParseNode $n) => $o->setStartPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the startPeriod property value. The startPeriod property - * @return Json|null - */ - public function getStartPeriod(): ?Json { - $val = $this->getBackingStore()->get('startPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startPeriod'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endPeriod', $this->getEndPeriod()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('startPeriod', $this->getStartPeriod()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endPeriod property value. The endPeriod property - * @param Json|null $value Value to set for the endPeriod property. - */ - public function setEndPeriod(?Json $value): void { - $this->getBackingStore()->set('endPeriod', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the startPeriod property value. The startPeriod property - * @param Json|null $value Value to set for the startPeriod property. - */ - public function setStartPeriod(?Json $value): void { - $this->getBackingStore()->set('startPeriod', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php index 0938a382340..1bfb46f1285 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/CumPrinc/CumPrincPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\CumPrinc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endPeriod property value. The endPeriod property - * @return Json|null - */ - public function getEndPeriod(): ?Json { - $val = $this->getBackingStore()->get('endPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endPeriod'"); - } - /** * The deserialization information for the current model * @return array @@ -75,86 +62,14 @@ public function getEndPeriod(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endPeriod' => fn(ParseNode $n) => $o->setEndPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startPeriod' => fn(ParseNode $n) => $o->setStartPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the startPeriod property value. The startPeriod property - * @return Json|null - */ - public function getStartPeriod(): ?Json { - $val = $this->getBackingStore()->get('startPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startPeriod'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endPeriod', $this->getEndPeriod()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('startPeriod', $this->getStartPeriod()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endPeriod property value. The endPeriod property - * @param Json|null $value Value to set for the endPeriod property. - */ - public function setEndPeriod(?Json $value): void { - $this->getBackingStore()->set('endPeriod', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the startPeriod property value. The startPeriod property - * @param Json|null $value Value to set for the startPeriod property. - */ - public function setStartPeriod(?Json $value): void { - $this->getBackingStore()->set('startPeriod', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php index d197e9d3bbb..a43e36c88ed 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Date/DatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Date; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the day property value. The day property - * @return Json|null - */ - public function getDay(): ?Json { - $val = $this->getBackingStore()->get('day'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'day'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDay(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'day' => fn(ParseNode $n) => $o->setDay($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'month' => fn(ParseNode $n) => $o->setMonth($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'year' => fn(ParseNode $n) => $o->setYear($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the month property value. The month property - * @return Json|null - */ - public function getMonth(): ?Json { - $val = $this->getBackingStore()->get('month'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'month'"); - } - - /** - * Gets the year property value. The year property - * @return Json|null - */ - public function getYear(): ?Json { - $val = $this->getBackingStore()->get('year'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'year'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('day', $this->getDay()); - $writer->writeObjectValue('month', $this->getMonth()); - $writer->writeObjectValue('year', $this->getYear()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the day property value. The day property - * @param Json|null $value Value to set for the day property. - */ - public function setDay(?Json $value): void { - $this->getBackingStore()->set('day', $value); - } - - /** - * Sets the month property value. The month property - * @param Json|null $value Value to set for the month property. - */ - public function setMonth(?Json $value): void { - $this->getBackingStore()->set('month', $value); - } - - /** - * Sets the year property value. The year property - * @param Json|null $value Value to set for the year property. - */ - public function setYear(?Json $value): void { - $this->getBackingStore()->set('year', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php index f1a5059438d..8de44c8d719 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Datevalue/DatevaluePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Datevalue; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the dateText property value. The dateText property - * @return Json|null - */ - public function getDateText(): ?Json { - $val = $this->getBackingStore()->get('dateText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'dateText'"); - } - /** * The deserialization information for the current model * @return array @@ -75,7 +62,6 @@ public function getDateText(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'dateText' => fn(ParseNode $n) => $o->setDateText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('dateText', $this->getDateText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the dateText property value. The dateText property - * @param Json|null $value Value to set for the dateText property. - */ - public function setDateText(?Json $value): void { - $this->getBackingStore()->set('dateText', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php index 25e20cef449..a0d096ffe25 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Daverage/DaveragePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Daverage; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php index db1de817185..3b471f338f3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Day/DayPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Day; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php index c2b25cd20f5..ea4df0eea63 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days/DaysPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Days; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php index 08a2f333865..7de7a29dc50 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Days360/Days360PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Days360; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'method' => fn(ParseNode $n) => $o->setMethod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the method property value. The method property - * @return Json|null - */ - public function getMethod(): ?Json { - $val = $this->getBackingStore()->get('method'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'method'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('method', $this->getMethod()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the method property value. The method property - * @param Json|null $value Value to set for the method property. - */ - public function setMethod(?Json $value): void { - $this->getBackingStore()->set('method', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php index ed9feb026be..8516efaef0c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Db/DbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Db; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getCost(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'month' => fn(ParseNode $n) => $o->setMonth($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'period' => fn(ParseNode $n) => $o->setPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the month property value. The month property - * @return Json|null - */ - public function getMonth(): ?Json { - $val = $this->getBackingStore()->get('month'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'month'"); - } - - /** - * Gets the period property value. The period property - * @return Json|null - */ - public function getPeriod(): ?Json { - $val = $this->getBackingStore()->get('period'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'period'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('month', $this->getMonth()); - $writer->writeObjectValue('period', $this->getPeriod()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the month property value. The month property - * @param Json|null $value Value to set for the month property. - */ - public function setMonth(?Json $value): void { - $this->getBackingStore()->set('month', $value); - } - - /** - * Sets the period property value. The period property - * @param Json|null $value Value to set for the period property. - */ - public function setPeriod(?Json $value): void { - $this->getBackingStore()->set('period', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php index 5de9f507b6a..e1101d4da1a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dbcs/DbcsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dbcs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php index 7ce8b23f0a9..485a35673d6 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dcount/DcountPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dcount; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php index 414a66bc659..ed3757d2408 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DcountA/DcountAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\DcountA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php index b8a3b8d2afc..262e14d9563 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ddb/DdbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Ddb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - - /** - * Gets the factor property value. The factor property - * @return Json|null - */ - public function getFactor(): ?Json { - $val = $this->getBackingStore()->get('factor'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'factor'"); - } - /** * The deserialization information for the current model * @return array @@ -87,60 +62,14 @@ public function getFactor(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'factor' => fn(ParseNode $n) => $o->setFactor($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'period' => fn(ParseNode $n) => $o->setPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the period property value. The period property - * @return Json|null - */ - public function getPeriod(): ?Json { - $val = $this->getBackingStore()->get('period'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'period'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('factor', $this->getFactor()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('period', $this->getPeriod()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the factor property value. The factor property - * @param Json|null $value Value to set for the factor property. - */ - public function setFactor(?Json $value): void { - $this->getBackingStore()->set('factor', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the period property value. The period property - * @param Json|null $value Value to set for the period property. - */ - public function setPeriod(?Json $value): void { - $this->getBackingStore()->set('period', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php index c85e904994d..3e98c57dd94 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dec2Bin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php index 08f6ce98d6e..5e39a4c3d6e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dec2Hex; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php index fbe9863fff0..8d16cd79b5c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dec2Oct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php index 2e9cb214d90..d276018b74b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Decimal/DecimalPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Decimal; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'radix' => fn(ParseNode $n) => $o->setRadix($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the radix property value. The radix property - * @return Json|null - */ - public function getRadix(): ?Json { - $val = $this->getBackingStore()->get('radix'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'radix'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('radix', $this->getRadix()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the radix property value. The radix property - * @param Json|null $value Value to set for the radix property. - */ - public function setRadix(?Json $value): void { - $this->getBackingStore()->set('radix', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php index c127fe88619..94b3773fdfe 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Degrees/DegreesPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Degrees; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the angle property value. The angle property - * @return Json|null - */ - public function getAngle(): ?Json { - $val = $this->getBackingStore()->get('angle'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'angle'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,7 +62,6 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'angle' => fn(ParseNode $n) => $o->setAngle($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('angle', $this->getAngle()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -96,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the angle property value. The angle property - * @param Json|null $value Value to set for the angle property. - */ - public function setAngle(?Json $value): void { - $this->getBackingStore()->set('angle', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php index 3f22d24fb0b..1696e57515b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Delta/DeltaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Delta; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number1' => fn(ParseNode $n) => $o->setNumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number2' => fn(ParseNode $n) => $o->setNumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number1 property value. The number1 property - * @return Json|null - */ - public function getNumber1(): ?Json { - $val = $this->getBackingStore()->get('number1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number1'"); - } - - /** - * Gets the number2 property value. The number2 property - * @return Json|null - */ - public function getNumber2(): ?Json { - $val = $this->getBackingStore()->get('number2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number1', $this->getNumber1()); - $writer->writeObjectValue('number2', $this->getNumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number1 property value. The number1 property - * @param Json|null $value Value to set for the number1 property. - */ - public function setNumber1(?Json $value): void { - $this->getBackingStore()->set('number1', $value); - } - - /** - * Sets the number2 property value. The number2 property - * @param Json|null $value Value to set for the number2 property. - */ - public function setNumber2(?Json $value): void { - $this->getBackingStore()->set('number2', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php index b3a06f1f3ec..caa2eb4bb15 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DevSq/DevSqPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\DevSq; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php index febf265e11e..d3c16707efe 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dget/DgetPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dget; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php index 89e4d46e54b..efe32df1e1a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Disc/DiscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Disc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php index 89f10fc0dfc..e6d69aa2bf5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmax/DmaxPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dmax; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php index 2f00c51cf06..af5957a96ad 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dmin/DminPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dmin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php index 89e95da51ab..3f00b8a9c0c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dollar/DollarPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dollar; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimals property value. The decimals property - * @return Json|null - */ - public function getDecimals(): ?Json { - $val = $this->getBackingStore()->get('decimals'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimals'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDecimals(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimals' => fn(ParseNode $n) => $o->setDecimals($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimals', $this->getDecimals()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimals property value. The decimals property - * @param Json|null $value Value to set for the decimals property. - */ - public function setDecimals(?Json $value): void { - $this->getBackingStore()->set('decimals', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php index 9ed086b4021..d63ffe55c03 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarDe/DollarDePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\DollarDe; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fraction' => fn(ParseNode $n) => $o->setFraction($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'fractionalDollar' => fn(ParseNode $n) => $o->setFractionalDollar($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fraction property value. The fraction property - * @return Json|null - */ - public function getFraction(): ?Json { - $val = $this->getBackingStore()->get('fraction'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fraction'"); - } - - /** - * Gets the fractionalDollar property value. The fractionalDollar property - * @return Json|null - */ - public function getFractionalDollar(): ?Json { - $val = $this->getBackingStore()->get('fractionalDollar'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fractionalDollar'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fraction', $this->getFraction()); - $writer->writeObjectValue('fractionalDollar', $this->getFractionalDollar()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fraction property value. The fraction property - * @param Json|null $value Value to set for the fraction property. - */ - public function setFraction(?Json $value): void { - $this->getBackingStore()->set('fraction', $value); - } - - /** - * Sets the fractionalDollar property value. The fractionalDollar property - * @param Json|null $value Value to set for the fractionalDollar property. - */ - public function setFractionalDollar(?Json $value): void { - $this->getBackingStore()->set('fractionalDollar', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php index 387cbcd53e6..14e6316a5b1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DollarFr/DollarFrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\DollarFr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimalDollar property value. The decimalDollar property - * @return Json|null - */ - public function getDecimalDollar(): ?Json { - $val = $this->getBackingStore()->get('decimalDollar'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimalDollar'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDecimalDollar(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimalDollar' => fn(ParseNode $n) => $o->setDecimalDollar($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'fraction' => fn(ParseNode $n) => $o->setFraction($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fraction property value. The fraction property - * @return Json|null - */ - public function getFraction(): ?Json { - $val = $this->getBackingStore()->get('fraction'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fraction'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimalDollar', $this->getDecimalDollar()); - $writer->writeObjectValue('fraction', $this->getFraction()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimalDollar property value. The decimalDollar property - * @param Json|null $value Value to set for the decimalDollar property. - */ - public function setDecimalDollar(?Json $value): void { - $this->getBackingStore()->set('decimalDollar', $value); - } - - /** - * Sets the fraction property value. The fraction property - * @param Json|null $value Value to set for the fraction property. - */ - public function setFraction(?Json $value): void { - $this->getBackingStore()->set('fraction', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php index 980224c0a4f..39f2457604f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dproduct/DproductPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dproduct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php index 6ff28e09f16..770973f7069 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDev/DstDevPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\DstDev; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php index d4b9612f424..28ff695f91d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DstDevP/DstDevPPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\DstDevP; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php index 55b089b2ac1..8db8d7b9109 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dsum/DsumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dsum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php index c24320d3379..24feefba847 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Duration/DurationPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Duration; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the coupon property value. The coupon property - * @return Json|null - */ - public function getCoupon(): ?Json { - $val = $this->getBackingStore()->get('coupon'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'coupon'"); - } - /** * The deserialization information for the current model * @return array @@ -87,74 +62,14 @@ public function getCoupon(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'coupon' => fn(ParseNode $n) => $o->setCoupon($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('coupon', $this->getCoupon()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the coupon property value. The coupon property - * @param Json|null $value Value to set for the coupon property. - */ - public function setCoupon(?Json $value): void { - $this->getBackingStore()->set('coupon', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php index 4d479456464..98eff83d052 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Dvar/DvarPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Dvar; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php index faaa15371f7..c818e8f7a95 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/DvarP/DvarPPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\DvarP; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - - /** - * Gets the database property value. The database property - * @return Json|null - */ - public function getDatabase(): ?Json { - $val = $this->getBackingStore()->get('database'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'database'"); - } - - /** - * Gets the field property value. The field property - * @return Json|null - */ - public function getField(): ?Json { - $val = $this->getBackingStore()->get('field'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'field'"); - } - /** * The deserialization information for the current model * @return array @@ -99,9 +62,6 @@ public function getField(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'database' => fn(ParseNode $n) => $o->setDatabase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'field' => fn(ParseNode $n) => $o->setField($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -110,9 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('database', $this->getDatabase()); - $writer->writeObjectValue('field', $this->getField()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the database property value. The database property - * @param Json|null $value Value to set for the database property. - */ - public function setDatabase(?Json $value): void { - $this->getBackingStore()->set('database', $value); - } - - /** - * Sets the field property value. The field property - * @param Json|null $value Value to set for the field property. - */ - public function setField(?Json $value): void { - $this->getBackingStore()->set('field', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php index 6d1b0ec45a0..653e0f072da 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Ecma_Ceiling; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php index 933e157955d..f7c5e8707fb 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Edate/EdatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Edate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'months' => fn(ParseNode $n) => $o->setMonths($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the months property value. The months property - * @return Json|null - */ - public function getMonths(): ?Json { - $val = $this->getBackingStore()->get('months'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'months'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('months', $this->getMonths()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the months property value. The months property - * @param Json|null $value Value to set for the months property. - */ - public function setMonths(?Json $value): void { - $this->getBackingStore()->set('months', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php index 2f2fcceb084..f7479ae5715 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Effect/EffectPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Effect; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'nominalRate' => fn(ParseNode $n) => $o->setNominalRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'npery' => fn(ParseNode $n) => $o->setNpery($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nominalRate property value. The nominalRate property - * @return Json|null - */ - public function getNominalRate(): ?Json { - $val = $this->getBackingStore()->get('nominalRate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nominalRate'"); - } - - /** - * Gets the npery property value. The npery property - * @return Json|null - */ - public function getNpery(): ?Json { - $val = $this->getBackingStore()->get('npery'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'npery'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('nominalRate', $this->getNominalRate()); - $writer->writeObjectValue('npery', $this->getNpery()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the nominalRate property value. The nominalRate property - * @param Json|null $value Value to set for the nominalRate property. - */ - public function setNominalRate(?Json $value): void { - $this->getBackingStore()->set('nominalRate', $value); - } - - /** - * Sets the npery property value. The npery property - * @param Json|null $value Value to set for the npery property. - */ - public function setNpery(?Json $value): void { - $this->getBackingStore()->set('npery', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php index 5b96175febb..71c866ee274 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EoMonth/EoMonthPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\EoMonth; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'months' => fn(ParseNode $n) => $o->setMonths($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the months property value. The months property - * @return Json|null - */ - public function getMonths(): ?Json { - $val = $this->getBackingStore()->get('months'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'months'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('months', $this->getMonths()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the months property value. The months property - * @param Json|null $value Value to set for the months property. - */ - public function setMonths(?Json $value): void { - $this->getBackingStore()->set('months', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php index 59adfeec57c..8db89e076cf 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf/ErfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Erf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'lowerLimit' => fn(ParseNode $n) => $o->setLowerLimit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'upperLimit' => fn(ParseNode $n) => $o->setUpperLimit($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lowerLimit property value. The lowerLimit property - * @return Json|null - */ - public function getLowerLimit(): ?Json { - $val = $this->getBackingStore()->get('lowerLimit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lowerLimit'"); - } - - /** - * Gets the upperLimit property value. The upperLimit property - * @return Json|null - */ - public function getUpperLimit(): ?Json { - $val = $this->getBackingStore()->get('upperLimit'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'upperLimit'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('lowerLimit', $this->getLowerLimit()); - $writer->writeObjectValue('upperLimit', $this->getUpperLimit()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the lowerLimit property value. The lowerLimit property - * @param Json|null $value Value to set for the lowerLimit property. - */ - public function setLowerLimit(?Json $value): void { - $this->getBackingStore()->set('lowerLimit', $value); - } - - /** - * Sets the upperLimit property value. The upperLimit property - * @param Json|null $value Value to set for the upperLimit property. - */ - public function setUpperLimit(?Json $value): void { - $this->getBackingStore()->set('upperLimit', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php index f9557971338..75276e28ea8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC/ErfCPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ErfC; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php index 8555fa3c06a..389af5a2cb5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ErfC_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'X' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the X property value. The X property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('X', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the X property value. The X property - * @param Json|null $value Value to set for the X property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php index 686e9ef196c..cedc86af7c5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Erf_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'X' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the X property value. The X property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('X', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the X property value. The X property - * @param Json|null $value Value to set for the X property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php index 1bf5dbf13f1..0461d8ce0c1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Error_Type/Error_TypePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Error_Type; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the errorVal property value. The errorVal property - * @return Json|null - */ - public function getErrorVal(): ?Json { - $val = $this->getBackingStore()->get('errorVal'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'errorVal'"); - } - /** * The deserialization information for the current model * @return array @@ -75,7 +62,6 @@ public function getErrorVal(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'errorVal' => fn(ParseNode $n) => $o->setErrorVal($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('errorVal', $this->getErrorVal()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the errorVal property value. The errorVal property - * @param Json|null $value Value to set for the errorVal property. - */ - public function setErrorVal(?Json $value): void { - $this->getBackingStore()->set('errorVal', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php index ba2701d17ef..c555ed70baf 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedAnd/AndPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\EscapedAnd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php index 0cb9d451b43..03aac79e09f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedIf/IfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\EscapedIf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'logicalTest' => fn(ParseNode $n) => $o->setLogicalTest($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'valueIfFalse' => fn(ParseNode $n) => $o->setValueIfFalse($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'valueIfTrue' => fn(ParseNode $n) => $o->setValueIfTrue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the logicalTest property value. The logicalTest property - * @return Json|null - */ - public function getLogicalTest(): ?Json { - $val = $this->getBackingStore()->get('logicalTest'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'logicalTest'"); - } - - /** - * Gets the valueIfFalse property value. The valueIfFalse property - * @return Json|null - */ - public function getValueIfFalse(): ?Json { - $val = $this->getBackingStore()->get('valueIfFalse'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'valueIfFalse'"); - } - - /** - * Gets the valueIfTrue property value. The valueIfTrue property - * @return Json|null - */ - public function getValueIfTrue(): ?Json { - $val = $this->getBackingStore()->get('valueIfTrue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'valueIfTrue'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('logicalTest', $this->getLogicalTest()); - $writer->writeObjectValue('valueIfFalse', $this->getValueIfFalse()); - $writer->writeObjectValue('valueIfTrue', $this->getValueIfTrue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the logicalTest property value. The logicalTest property - * @param Json|null $value Value to set for the logicalTest property. - */ - public function setLogicalTest(?Json $value): void { - $this->getBackingStore()->set('logicalTest', $value); - } - - /** - * Sets the valueIfFalse property value. The valueIfFalse property - * @param Json|null $value Value to set for the valueIfFalse property. - */ - public function setValueIfFalse(?Json $value): void { - $this->getBackingStore()->set('valueIfFalse', $value); - } - - /** - * Sets the valueIfTrue property value. The valueIfTrue property - * @param Json|null $value Value to set for the valueIfTrue property. - */ - public function setValueIfTrue(?Json $value): void { - $this->getBackingStore()->set('valueIfTrue', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php index 2c6cb40cff4..278950a5653 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedOr/OrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\EscapedOr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php index b494ec631aa..22818d0e847 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedXor/XorPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\EscapedXor; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php index a87d2f7ea8f..5296972cffc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/EscapedYield/YieldPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\EscapedYield; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,100 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php index 9225ee7eada..3633b3b9ef8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Even/EvenPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Even; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php index 0f4f8b9c1db..bb5be6fe415 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exact/ExactPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Exact; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text1' => fn(ParseNode $n) => $o->setText1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text2' => fn(ParseNode $n) => $o->setText2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text1 property value. The text1 property - * @return Json|null - */ - public function getText1(): ?Json { - $val = $this->getBackingStore()->get('text1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text1'"); - } - - /** - * Gets the text2 property value. The text2 property - * @return Json|null - */ - public function getText2(): ?Json { - $val = $this->getBackingStore()->get('text2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text1', $this->getText1()); - $writer->writeObjectValue('text2', $this->getText2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text1 property value. The text1 property - * @param Json|null $value Value to set for the text1 property. - */ - public function setText1(?Json $value): void { - $this->getBackingStore()->set('text1', $value); - } - - /** - * Sets the text2 property value. The text2 property - * @param Json|null $value Value to set for the text2 property. - */ - public function setText2(?Json $value): void { - $this->getBackingStore()->set('text2', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php index edd587d3b20..83ed6d7dc14 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Exp/ExpPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Exp; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php index 967e21e774d..51bf3c1d46d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Expon_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lambda' => fn(ParseNode $n) => $o->setLambda($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lambda property value. The lambda property - * @return Json|null - */ - public function getLambda(): ?Json { - $val = $this->getBackingStore()->get('lambda'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lambda'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('lambda', $this->getLambda()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the lambda property value. The lambda property - * @param Json|null $value Value to set for the lambda property. - */ - public function setLambda(?Json $value): void { - $this->getBackingStore()->set('lambda', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php index e279040f413..96d2e9f4adf 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist/F_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\F_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - - /** - * Gets the degFreedom1 property value. The degFreedom1 property - * @return Json|null - */ - public function getDegFreedom1(): ?Json { - $val = $this->getBackingStore()->get('degFreedom1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom1'"); - } - - /** - * Gets the degFreedom2 property value. The degFreedom2 property - * @return Json|null - */ - public function getDegFreedom2(): ?Json { - $val = $this->getBackingStore()->get('degFreedom2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom2'"); - } - /** * The deserialization information for the current model * @return array @@ -99,34 +62,14 @@ public function getDegFreedom2(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom1' => fn(ParseNode $n) => $o->setDegFreedom1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom2' => fn(ParseNode $n) => $o->setDegFreedom2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('degFreedom1', $this->getDegFreedom1()); - $writer->writeObjectValue('degFreedom2', $this->getDegFreedom2()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the degFreedom1 property value. The degFreedom1 property - * @param Json|null $value Value to set for the degFreedom1 property. - */ - public function setDegFreedom1(?Json $value): void { - $this->getBackingStore()->set('degFreedom1', $value); - } - - /** - * Sets the degFreedom2 property value. The degFreedom2 property - * @param Json|null $value Value to set for the degFreedom2 property. - */ - public function setDegFreedom2(?Json $value): void { - $this->getBackingStore()->set('degFreedom2', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php index b7866fb29bd..b3ac04b4301 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\F_Dist_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom1 property value. The degFreedom1 property - * @return Json|null - */ - public function getDegFreedom1(): ?Json { - $val = $this->getBackingStore()->get('degFreedom1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom1'"); - } - - /** - * Gets the degFreedom2 property value. The degFreedom2 property - * @return Json|null - */ - public function getDegFreedom2(): ?Json { - $val = $this->getBackingStore()->get('degFreedom2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom2'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom2(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom1' => fn(ParseNode $n) => $o->setDegFreedom1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom2' => fn(ParseNode $n) => $o->setDegFreedom2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom1', $this->getDegFreedom1()); - $writer->writeObjectValue('degFreedom2', $this->getDegFreedom2()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom1 property value. The degFreedom1 property - * @param Json|null $value Value to set for the degFreedom1 property. - */ - public function setDegFreedom1(?Json $value): void { - $this->getBackingStore()->set('degFreedom1', $value); - } - - /** - * Sets the degFreedom2 property value. The degFreedom2 property - * @param Json|null $value Value to set for the degFreedom2 property. - */ - public function setDegFreedom2(?Json $value): void { - $this->getBackingStore()->set('degFreedom2', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php index baba58d38c8..8852c149007 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv/F_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\F_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom1 property value. The degFreedom1 property - * @return Json|null - */ - public function getDegFreedom1(): ?Json { - $val = $this->getBackingStore()->get('degFreedom1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom1'"); - } - - /** - * Gets the degFreedom2 property value. The degFreedom2 property - * @return Json|null - */ - public function getDegFreedom2(): ?Json { - $val = $this->getBackingStore()->get('degFreedom2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom2'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom2(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom1' => fn(ParseNode $n) => $o->setDegFreedom1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom2' => fn(ParseNode $n) => $o->setDegFreedom2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom1', $this->getDegFreedom1()); - $writer->writeObjectValue('degFreedom2', $this->getDegFreedom2()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom1 property value. The degFreedom1 property - * @param Json|null $value Value to set for the degFreedom1 property. - */ - public function setDegFreedom1(?Json $value): void { - $this->getBackingStore()->set('degFreedom1', $value); - } - - /** - * Sets the degFreedom2 property value. The degFreedom2 property - * @param Json|null $value Value to set for the degFreedom2 property. - */ - public function setDegFreedom2(?Json $value): void { - $this->getBackingStore()->set('degFreedom2', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php index ecb37428705..b5c57ebaefe 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\F_Inv_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom1 property value. The degFreedom1 property - * @return Json|null - */ - public function getDegFreedom1(): ?Json { - $val = $this->getBackingStore()->get('degFreedom1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom1'"); - } - - /** - * Gets the degFreedom2 property value. The degFreedom2 property - * @return Json|null - */ - public function getDegFreedom2(): ?Json { - $val = $this->getBackingStore()->get('degFreedom2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom2'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom2(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom1' => fn(ParseNode $n) => $o->setDegFreedom1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom2' => fn(ParseNode $n) => $o->setDegFreedom2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom1', $this->getDegFreedom1()); - $writer->writeObjectValue('degFreedom2', $this->getDegFreedom2()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom1 property value. The degFreedom1 property - * @param Json|null $value Value to set for the degFreedom1 property. - */ - public function setDegFreedom1(?Json $value): void { - $this->getBackingStore()->set('degFreedom1', $value); - } - - /** - * Sets the degFreedom2 property value. The degFreedom2 property - * @param Json|null $value Value to set for the degFreedom2 property. - */ - public function setDegFreedom2(?Json $value): void { - $this->getBackingStore()->set('degFreedom2', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php index c3cac25caf6..14d0576cce7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fact/FactPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Fact; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php index efc7a22e6ca..1c4b8eb9d36 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FactDouble/FactDoublePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\FactDouble; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php index a8dd93d2662..2616087f107 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Find/FindPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Find; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'findText' => fn(ParseNode $n) => $o->setFindText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'withinText' => fn(ParseNode $n) => $o->setWithinText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the findText property value. The findText property - * @return Json|null - */ - public function getFindText(): ?Json { - $val = $this->getBackingStore()->get('findText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'findText'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - - /** - * Gets the withinText property value. The withinText property - * @return Json|null - */ - public function getWithinText(): ?Json { - $val = $this->getBackingStore()->get('withinText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'withinText'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('findText', $this->getFindText()); - $writer->writeObjectValue('startNum', $this->getStartNum()); - $writer->writeObjectValue('withinText', $this->getWithinText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the findText property value. The findText property - * @param Json|null $value Value to set for the findText property. - */ - public function setFindText(?Json $value): void { - $this->getBackingStore()->set('findText', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - - /** - * Sets the withinText property value. The withinText property - * @param Json|null $value Value to set for the withinText property. - */ - public function setWithinText(?Json $value): void { - $this->getBackingStore()->set('withinText', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php index 517ad03eab1..42110d61c52 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FindB/FindBPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\FindB; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'findText' => fn(ParseNode $n) => $o->setFindText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'withinText' => fn(ParseNode $n) => $o->setWithinText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the findText property value. The findText property - * @return Json|null - */ - public function getFindText(): ?Json { - $val = $this->getBackingStore()->get('findText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'findText'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - - /** - * Gets the withinText property value. The withinText property - * @return Json|null - */ - public function getWithinText(): ?Json { - $val = $this->getBackingStore()->get('withinText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'withinText'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('findText', $this->getFindText()); - $writer->writeObjectValue('startNum', $this->getStartNum()); - $writer->writeObjectValue('withinText', $this->getWithinText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the findText property value. The findText property - * @param Json|null $value Value to set for the findText property. - */ - public function setFindText(?Json $value): void { - $this->getBackingStore()->set('findText', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - - /** - * Sets the withinText property value. The withinText property - * @param Json|null $value Value to set for the withinText property. - */ - public function setWithinText(?Json $value): void { - $this->getBackingStore()->set('withinText', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php index 2e6b26af578..fa764b4856a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fisher/FisherPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Fisher; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php index 043e1ec74fc..f262b3cc465 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/FisherInv/FisherInvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\FisherInv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'y' => fn(ParseNode $n) => $o->setY($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the y property value. The y property - * @return Json|null - */ - public function getY(): ?Json { - $val = $this->getBackingStore()->get('y'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'y'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('y', $this->getY()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the y property value. The y property - * @param Json|null $value Value to set for the y property. - */ - public function setY(?Json $value): void { - $this->getBackingStore()->set('y', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php index 5d7afbcedbc..28bfb4368a6 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fixed/FixedPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Fixed; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimals property value. The decimals property - * @return Json|null - */ - public function getDecimals(): ?Json { - $val = $this->getBackingStore()->get('decimals'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimals'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDecimals(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimals' => fn(ParseNode $n) => $o->setDecimals($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'noCommas' => fn(ParseNode $n) => $o->setNoCommas($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the noCommas property value. The noCommas property - * @return Json|null - */ - public function getNoCommas(): ?Json { - $val = $this->getBackingStore()->get('noCommas'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'noCommas'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimals', $this->getDecimals()); - $writer->writeObjectValue('noCommas', $this->getNoCommas()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimals property value. The decimals property - * @param Json|null $value Value to set for the decimals property. - */ - public function setDecimals(?Json $value): void { - $this->getBackingStore()->set('decimals', $value); - } - - /** - * Sets the noCommas property value. The noCommas property - * @param Json|null $value Value to set for the noCommas property. - */ - public function setNoCommas(?Json $value): void { - $this->getBackingStore()->set('noCommas', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php index 1caec63f83f..996eec0c646 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Math/Floor_MathPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Floor_Math; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mode' => fn(ParseNode $n) => $o->setMode($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mode property value. The mode property - * @return Json|null - */ - public function getMode(): ?Json { - $val = $this->getBackingStore()->get('mode'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mode'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mode', $this->getMode()); - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mode property value. The mode property - * @param Json|null $value Value to set for the mode property. - */ - public function setMode(?Json $value): void { - $this->getBackingStore()->set('mode', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php index c1cfbaafe17..7d6de0b7ed9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Floor_Precise/Floor_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Floor_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php index 5079b06840a..05b6dea5d91 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fv/FvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Fv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,84 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pmt' => fn(ParseNode $n) => $o->setPmt($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pmt property value. The pmt property - * @return Json|null - */ - public function getPmt(): ?Json { - $val = $this->getBackingStore()->get('pmt'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pmt'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pmt', $this->getPmt()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pmt property value. The pmt property - * @param Json|null $value Value to set for the pmt property. - */ - public function setPmt(?Json $value): void { - $this->getBackingStore()->set('pmt', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php index e1ed4398ebd..6edc9f74a3d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Fvschedule/FvschedulePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Fvschedule; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'principal' => fn(ParseNode $n) => $o->setPrincipal($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'schedule' => fn(ParseNode $n) => $o->setSchedule($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the principal property value. The principal property - * @return Json|null - */ - public function getPrincipal(): ?Json { - $val = $this->getBackingStore()->get('principal'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'principal'"); - } - - /** - * Gets the schedule property value. The schedule property - * @return Json|null - */ - public function getSchedule(): ?Json { - $val = $this->getBackingStore()->get('schedule'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'schedule'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('principal', $this->getPrincipal()); - $writer->writeObjectValue('schedule', $this->getSchedule()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the principal property value. The principal property - * @param Json|null $value Value to set for the principal property. - */ - public function setPrincipal(?Json $value): void { - $this->getBackingStore()->set('principal', $value); - } - - /** - * Sets the schedule property value. The schedule property - * @param Json|null $value Value to set for the schedule property. - */ - public function setSchedule(?Json $value): void { - $this->getBackingStore()->set('schedule', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php index bfc2b391932..e9509cc5a27 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma/GammaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Gamma; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php index 94c0b259f33..7bcb283b8ad 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn/GammaLnPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\GammaLn; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php index ddb9dd8d7a1..4b60f9f3718 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PrecisePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\GammaLn_Precise; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php index ba7470d3258..b2668b94b57 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Gamma_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -68,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -99,34 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -138,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -154,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php index d6b1444fb3b..f68f5e502ef 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Gamma_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -68,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getBeta(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php index bb635039b11..bf19ef97f5d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gauss/GaussPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Gauss; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php index 93e38489548..538d8f5bc50 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Gcd/GcdPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Gcd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php index 409aa9bc2a5..e24f7e264dd 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeStep/GeStepPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\GeStep; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'step' => fn(ParseNode $n) => $o->setStep($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the step property value. The step property - * @return Json|null - */ - public function getStep(): ?Json { - $val = $this->getBackingStore()->get('step'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'step'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('step', $this->getStep()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the step property value. The step property - * @param Json|null $value Value to set for the step property. - */ - public function setStep(?Json $value): void { - $this->getBackingStore()->set('step', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php index c6e56c5d05d..eec8184eb75 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/GeoMean/GeoMeanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\GeoMean; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php index a911d348bc2..36d85f0b437 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HarMean/HarMeanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\HarMean; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php index f86082d5612..f5122b16285 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Hex2Bin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php index a125d2fcf0b..9f709d45be0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Hex2Dec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php index 68025cf3d35..7bfc8a1b193 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Hex2Oct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php index b8aa8be77dd..57d294f5938 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hlookup/HlookupPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Hlookup; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'lookupValue' => fn(ParseNode $n) => $o->setLookupValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rangeLookup' => fn(ParseNode $n) => $o->setRangeLookup($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rowIndexNum' => fn(ParseNode $n) => $o->setRowIndexNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'tableArray' => fn(ParseNode $n) => $o->setTableArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lookupValue property value. The lookupValue property - * @return Json|null - */ - public function getLookupValue(): ?Json { - $val = $this->getBackingStore()->get('lookupValue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupValue'"); - } - - /** - * Gets the rangeLookup property value. The rangeLookup property - * @return Json|null - */ - public function getRangeLookup(): ?Json { - $val = $this->getBackingStore()->get('rangeLookup'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rangeLookup'"); - } - - /** - * Gets the rowIndexNum property value. The rowIndexNum property - * @return Json|null - */ - public function getRowIndexNum(): ?Json { - $val = $this->getBackingStore()->get('rowIndexNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rowIndexNum'"); - } - - /** - * Gets the tableArray property value. The tableArray property - * @return Json|null - */ - public function getTableArray(): ?Json { - $val = $this->getBackingStore()->get('tableArray'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'tableArray'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('lookupValue', $this->getLookupValue()); - $writer->writeObjectValue('rangeLookup', $this->getRangeLookup()); - $writer->writeObjectValue('rowIndexNum', $this->getRowIndexNum()); - $writer->writeObjectValue('tableArray', $this->getTableArray()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the lookupValue property value. The lookupValue property - * @param Json|null $value Value to set for the lookupValue property. - */ - public function setLookupValue(?Json $value): void { - $this->getBackingStore()->set('lookupValue', $value); - } - - /** - * Sets the rangeLookup property value. The rangeLookup property - * @param Json|null $value Value to set for the rangeLookup property. - */ - public function setRangeLookup(?Json $value): void { - $this->getBackingStore()->set('rangeLookup', $value); - } - - /** - * Sets the rowIndexNum property value. The rowIndexNum property - * @param Json|null $value Value to set for the rowIndexNum property. - */ - public function setRowIndexNum(?Json $value): void { - $this->getBackingStore()->set('rowIndexNum', $value); - } - - /** - * Sets the tableArray property value. The tableArray property - * @param Json|null $value Value to set for the tableArray property. - */ - public function setTableArray(?Json $value): void { - $this->getBackingStore()->set('tableArray', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php index 3693ac1352c..56dd62fda3d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hour/HourPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Hour; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php index 0b603e46313..4553da90df5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\HypGeom_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberPop' => fn(ParseNode $n) => $o->setNumberPop($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberSample' => fn(ParseNode $n) => $o->setNumberSample($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'populationS' => fn(ParseNode $n) => $o->setPopulationS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'sampleS' => fn(ParseNode $n) => $o->setSampleS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberPop property value. The numberPop property - * @return Json|null - */ - public function getNumberPop(): ?Json { - $val = $this->getBackingStore()->get('numberPop'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberPop'"); - } - - /** - * Gets the numberSample property value. The numberSample property - * @return Json|null - */ - public function getNumberSample(): ?Json { - $val = $this->getBackingStore()->get('numberSample'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberSample'"); - } - - /** - * Gets the populationS property value. The populationS property - * @return Json|null - */ - public function getPopulationS(): ?Json { - $val = $this->getBackingStore()->get('populationS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'populationS'"); - } - - /** - * Gets the sampleS property value. The sampleS property - * @return Json|null - */ - public function getSampleS(): ?Json { - $val = $this->getBackingStore()->get('sampleS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sampleS'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('numberPop', $this->getNumberPop()); - $writer->writeObjectValue('numberSample', $this->getNumberSample()); - $writer->writeObjectValue('populationS', $this->getPopulationS()); - $writer->writeObjectValue('sampleS', $this->getSampleS()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the numberPop property value. The numberPop property - * @param Json|null $value Value to set for the numberPop property. - */ - public function setNumberPop(?Json $value): void { - $this->getBackingStore()->set('numberPop', $value); - } - - /** - * Sets the numberSample property value. The numberSample property - * @param Json|null $value Value to set for the numberSample property. - */ - public function setNumberSample(?Json $value): void { - $this->getBackingStore()->set('numberSample', $value); - } - - /** - * Sets the populationS property value. The populationS property - * @param Json|null $value Value to set for the populationS property. - */ - public function setPopulationS(?Json $value): void { - $this->getBackingStore()->set('populationS', $value); - } - - /** - * Sets the sampleS property value. The sampleS property - * @param Json|null $value Value to set for the sampleS property. - */ - public function setSampleS(?Json $value): void { - $this->getBackingStore()->set('sampleS', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php index 4eff894ef5d..2dc8fa80997 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Hyperlink/HyperlinkPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Hyperlink; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'friendlyName' => fn(ParseNode $n) => $o->setFriendlyName($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'linkLocation' => fn(ParseNode $n) => $o->setLinkLocation($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the friendlyName property value. The friendlyName property - * @return Json|null - */ - public function getFriendlyName(): ?Json { - $val = $this->getBackingStore()->get('friendlyName'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'friendlyName'"); - } - - /** - * Gets the linkLocation property value. The linkLocation property - * @return Json|null - */ - public function getLinkLocation(): ?Json { - $val = $this->getBackingStore()->get('linkLocation'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'linkLocation'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('friendlyName', $this->getFriendlyName()); - $writer->writeObjectValue('linkLocation', $this->getLinkLocation()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the friendlyName property value. The friendlyName property - * @param Json|null $value Value to set for the friendlyName property. - */ - public function setFriendlyName(?Json $value): void { - $this->getBackingStore()->set('friendlyName', $value); - } - - /** - * Sets the linkLocation property value. The linkLocation property - * @param Json|null $value Value to set for the linkLocation property. - */ - public function setLinkLocation(?Json $value): void { - $this->getBackingStore()->set('linkLocation', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php index 6a481b7bded..ae4871f1ff3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImAbs/ImAbsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImAbs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php index 785e05189c2..22ad738cde1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImArgument/ImArgumentPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImArgument; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php index 357dbff52be..a71f5bb3ff2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImConjugate/ImConjugatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImConjugate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php index 0eca0b70af9..38f860cf801 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCos/ImCosPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImCos; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php index e27506a2df1..07d10e404dc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCosh/ImCoshPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImCosh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php index a4977093293..17d3a37c5b0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCot/ImCotPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImCot; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php index 28e8c11615d..82007ba1880 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsc/ImCscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImCsc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php index 8bd1b34fb9e..a568f8da5cd 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImCsch/ImCschPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImCsch; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php index 31bdae09266..7ccd49c4ee5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImDiv/ImDivPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImDiv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber1' => fn(ParseNode $n) => $o->setInumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'inumber2' => fn(ParseNode $n) => $o->setInumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber1 property value. The inumber1 property - * @return Json|null - */ - public function getInumber1(): ?Json { - $val = $this->getBackingStore()->get('inumber1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber1'"); - } - - /** - * Gets the inumber2 property value. The inumber2 property - * @return Json|null - */ - public function getInumber2(): ?Json { - $val = $this->getBackingStore()->get('inumber2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber1', $this->getInumber1()); - $writer->writeObjectValue('inumber2', $this->getInumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber1 property value. The inumber1 property - * @param Json|null $value Value to set for the inumber1 property. - */ - public function setInumber1(?Json $value): void { - $this->getBackingStore()->set('inumber1', $value); - } - - /** - * Sets the inumber2 property value. The inumber2 property - * @param Json|null $value Value to set for the inumber2 property. - */ - public function setInumber2(?Json $value): void { - $this->getBackingStore()->set('inumber2', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php index 131693926b0..6bb44eaecc7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImExp/ImExpPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImExp; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php index fa584127972..8994c5ee579 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLn/ImLnPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImLn; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php index 6e54cc8e0ea..9baf63ca3ae 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog10/ImLog10PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImLog10; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php index 3f9c078fc19..a9cc65cdae7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImLog2/ImLog2PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImLog2; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php index 285845f669f..350a9d102d8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImPower/ImPowerPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImPower; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php index b04c22cbe59..a8f2c2b5a6b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImProduct/ImProductPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImProduct; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php index 13f91205a83..08ef4fb38f0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImReal/ImRealPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImReal; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php index e870ba7b02f..2f1c498e3f2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSec/ImSecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImSec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php index e42d8866652..f7e612de22d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSech/ImSechPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImSech; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php index f6c3d01facf..228c993e19d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSin/ImSinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImSin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php index 7f95cb0912c..b4844aa27c2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSinh/ImSinhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImSinh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php index 677e3decf79..f76db1cf3b5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSqrt/ImSqrtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImSqrt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php index 22384181ccf..f8954667888 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSub/ImSubPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImSub; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber1' => fn(ParseNode $n) => $o->setInumber1($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'inumber2' => fn(ParseNode $n) => $o->setInumber2($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber1 property value. The inumber1 property - * @return Json|null - */ - public function getInumber1(): ?Json { - $val = $this->getBackingStore()->get('inumber1'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber1'"); - } - - /** - * Gets the inumber2 property value. The inumber2 property - * @return Json|null - */ - public function getInumber2(): ?Json { - $val = $this->getBackingStore()->get('inumber2'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber2'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber1', $this->getInumber1()); - $writer->writeObjectValue('inumber2', $this->getInumber2()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber1 property value. The inumber1 property - * @param Json|null $value Value to set for the inumber1 property. - */ - public function setInumber1(?Json $value): void { - $this->getBackingStore()->set('inumber1', $value); - } - - /** - * Sets the inumber2 property value. The inumber2 property - * @param Json|null $value Value to set for the inumber2 property. - */ - public function setInumber2(?Json $value): void { - $this->getBackingStore()->set('inumber2', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php index aa34d7644fd..d4d48d5b410 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImSum/ImSumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImSum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php index 7b6e176f457..460d7f3b79c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ImTan/ImTanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ImTan; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php index 6acd5f7db87..bc10d9e13a3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Imaginary/ImaginaryPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Imaginary; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'inumber' => fn(ParseNode $n) => $o->setInumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the inumber property value. The inumber property - * @return Json|null - */ - public function getInumber(): ?Json { - $val = $this->getBackingStore()->get('inumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'inumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('inumber', $this->getInumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the inumber property value. The inumber property - * @param Json|null $value Value to set for the inumber property. - */ - public function setInumber(?Json $value): void { - $this->getBackingStore()->set('inumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php index d016c81f3b7..e4b8239c027 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Int/IntPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Int; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php index 5dd9ef2aa6a..b1ced8a186d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IntRate/IntRatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IntRate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'investment' => fn(ParseNode $n) => $o->setInvestment($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the investment property value. The investment property - * @return Json|null - */ - public function getInvestment(): ?Json { - $val = $this->getBackingStore()->get('investment'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'investment'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('investment', $this->getInvestment()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the investment property value. The investment property - * @param Json|null $value Value to set for the investment property. - */ - public function setInvestment(?Json $value): void { - $this->getBackingStore()->set('investment', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php index 940fe1f2f10..e65a161ba20 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ipmt/IpmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Ipmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,98 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'per' => fn(ParseNode $n) => $o->setPer($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the per property value. The per property - * @return Json|null - */ - public function getPer(): ?Json { - $val = $this->getBackingStore()->get('per'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'per'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('per', $this->getPer()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the per property value. The per property - * @param Json|null $value Value to set for the per property. - */ - public function setPer(?Json $value): void { - $this->getBackingStore()->set('per', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php index f4b8c4ebd6b..53f80515986 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Irr/IrrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Irr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'guess' => fn(ParseNode $n) => $o->setGuess($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the guess property value. The guess property - * @return Json|null - */ - public function getGuess(): ?Json { - $val = $this->getBackingStore()->get('guess'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'guess'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('guess', $this->getGuess()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the guess property value. The guess property - * @param Json|null $value Value to set for the guess property. - */ - public function setGuess(?Json $value): void { - $this->getBackingStore()->set('guess', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php index d0e9b265a0d..119011afcce 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsErr/IsErrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsErr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php index a42e6a2e3d2..a71ca498678 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsError/IsErrorPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsError; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php index 838194d62c1..a06581df29a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsEven/IsEvenPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsEven; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php index 736f3d96483..1f02db0659e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsFormula/IsFormulaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsFormula; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php index c6a9ca308d6..9b8e9d2b3a1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsLogical/IsLogicalPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsLogical; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php index 3384913ef25..d94ed350b30 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNA/IsNAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsNA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php index 946f95e2af6..b1d80d498c8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNonText/IsNonTextPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsNonText; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php index 2a12faaa59a..2b8274b879a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsNumber/IsNumberPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsNumber; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php index 8d7e53c3426..c2706f908c1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsOdd/IsOddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsOdd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php index fcc843c163c..410573baefa 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsText/IsTextPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsText; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php index ab4eff4f0ae..1c8b4379d10 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\IsoWeekNum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the date property value. The date property - * @return Json|null - */ - public function getDate(): ?Json { - $val = $this->getBackingStore()->get('date'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'date'"); - } - /** * The deserialization information for the current model * @return array @@ -75,7 +62,6 @@ public function getDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'date' => fn(ParseNode $n) => $o->setDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('date', $this->getDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the date property value. The date property - * @param Json|null $value Value to set for the date property. - */ - public function setDate(?Json $value): void { - $this->getBackingStore()->set('date', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php index e5facb276a5..581f3df56a2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Iso_Ceiling; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('significance', $this->getSignificance()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php index 3c8fb1fbd2c..10ed52e1d49 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ispmt/IspmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Ispmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'per' => fn(ParseNode $n) => $o->setPer($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the per property value. The per property - * @return Json|null - */ - public function getPer(): ?Json { - $val = $this->getBackingStore()->get('per'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'per'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('per', $this->getPer()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the per property value. The per property - * @param Json|null $value Value to set for the per property. - */ - public function setPer(?Json $value): void { - $this->getBackingStore()->set('per', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php index fdd13498ca3..16fe57a5c4f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Isref/IsrefPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Isref; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php index 5b6242b65b8..67c3a02c123 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Kurt/KurtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Kurt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php index fc2c0b16b12..a1279251089 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Large/LargePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Large; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'k' => fn(ParseNode $n) => $o->setK($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the k property value. The k property - * @return Json|null - */ - public function getK(): ?Json { - $val = $this->getBackingStore()->get('k'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'k'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('k', $this->getK()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the k property value. The k property - * @param Json|null $value Value to set for the k property. - */ - public function setK(?Json $value): void { - $this->getBackingStore()->set('k', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php index 21a80a870d9..c1b03242da6 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lcm/LcmPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Lcm; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php index c75c5f6ee3b..a9546352bd5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Left/LeftPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Left; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numChars' => fn(ParseNode $n) => $o->setNumChars($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numChars property value. The numChars property - * @return Json|null - */ - public function getNumChars(): ?Json { - $val = $this->getBackingStore()->get('numChars'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numChars'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numChars', $this->getNumChars()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numChars property value. The numChars property - * @param Json|null $value Value to set for the numChars property. - */ - public function setNumChars(?Json $value): void { - $this->getBackingStore()->set('numChars', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php index ed5115355a4..d67f1236754 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Leftb/LeftbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Leftb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numBytes' => fn(ParseNode $n) => $o->setNumBytes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numBytes property value. The numBytes property - * @return Json|null - */ - public function getNumBytes(): ?Json { - $val = $this->getBackingStore()->get('numBytes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numBytes'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numBytes', $this->getNumBytes()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numBytes property value. The numBytes property - * @param Json|null $value Value to set for the numBytes property. - */ - public function setNumBytes(?Json $value): void { - $this->getBackingStore()->set('numBytes', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php index 62d95e34569..9c3d407ae86 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Len/LenPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Len; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php index 3798830bb17..95dcd7e2bde 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lenb/LenbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Lenb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php index eefaca4174d..af31ac7bb7e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ln/LnPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Ln; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php index ab1530efb60..5b03d3df584 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log/LogPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Log; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the base property value. The base property - * @return Json|null - */ - public function getBase(): ?Json { - $val = $this->getBackingStore()->get('base'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'base'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getBase(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'base' => fn(ParseNode $n) => $o->setBase($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('base', $this->getBase()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the base property value. The base property - * @param Json|null $value Value to set for the base property. - */ - public function setBase(?Json $value): void { - $this->getBackingStore()->set('base', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php index 1e8b4c37bdf..dc15038a35b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Log10/Log10PostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Log10; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php index 17fd20306a5..3b466668c15 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\LogNorm_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php index d05116bc587..583adcd41c0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\LogNorm_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('probability', $this->getProbability()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php index 97a091b97bf..b613af143b1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lookup/LookupPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Lookup; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'lookupValue' => fn(ParseNode $n) => $o->setLookupValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lookupVector' => fn(ParseNode $n) => $o->setLookupVector($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'resultVector' => fn(ParseNode $n) => $o->setResultVector($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lookupValue property value. The lookupValue property - * @return Json|null - */ - public function getLookupValue(): ?Json { - $val = $this->getBackingStore()->get('lookupValue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupValue'"); - } - - /** - * Gets the lookupVector property value. The lookupVector property - * @return Json|null - */ - public function getLookupVector(): ?Json { - $val = $this->getBackingStore()->get('lookupVector'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupVector'"); - } - - /** - * Gets the resultVector property value. The resultVector property - * @return Json|null - */ - public function getResultVector(): ?Json { - $val = $this->getBackingStore()->get('resultVector'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'resultVector'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('lookupValue', $this->getLookupValue()); - $writer->writeObjectValue('lookupVector', $this->getLookupVector()); - $writer->writeObjectValue('resultVector', $this->getResultVector()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the lookupValue property value. The lookupValue property - * @param Json|null $value Value to set for the lookupValue property. - */ - public function setLookupValue(?Json $value): void { - $this->getBackingStore()->set('lookupValue', $value); - } - - /** - * Sets the lookupVector property value. The lookupVector property - * @param Json|null $value Value to set for the lookupVector property. - */ - public function setLookupVector(?Json $value): void { - $this->getBackingStore()->set('lookupVector', $value); - } - - /** - * Sets the resultVector property value. The resultVector property - * @param Json|null $value Value to set for the resultVector property. - */ - public function setResultVector(?Json $value): void { - $this->getBackingStore()->set('resultVector', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php index 382836aaeca..28f4494abc5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Lower/LowerPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Lower; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php index b05f1e85dcc..3b0514ada21 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Match/MatchPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Match; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'lookupArray' => fn(ParseNode $n) => $o->setLookupArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lookupValue' => fn(ParseNode $n) => $o->setLookupValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'matchType' => fn(ParseNode $n) => $o->setMatchType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lookupArray property value. The lookupArray property - * @return Json|null - */ - public function getLookupArray(): ?Json { - $val = $this->getBackingStore()->get('lookupArray'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupArray'"); - } - - /** - * Gets the lookupValue property value. The lookupValue property - * @return Json|null - */ - public function getLookupValue(): ?Json { - $val = $this->getBackingStore()->get('lookupValue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupValue'"); - } - - /** - * Gets the matchType property value. The matchType property - * @return Json|null - */ - public function getMatchType(): ?Json { - $val = $this->getBackingStore()->get('matchType'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'matchType'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('lookupArray', $this->getLookupArray()); - $writer->writeObjectValue('lookupValue', $this->getLookupValue()); - $writer->writeObjectValue('matchType', $this->getMatchType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the lookupArray property value. The lookupArray property - * @param Json|null $value Value to set for the lookupArray property. - */ - public function setLookupArray(?Json $value): void { - $this->getBackingStore()->set('lookupArray', $value); - } - - /** - * Sets the lookupValue property value. The lookupValue property - * @param Json|null $value Value to set for the lookupValue property. - */ - public function setLookupValue(?Json $value): void { - $this->getBackingStore()->set('lookupValue', $value); - } - - /** - * Sets the matchType property value. The matchType property - * @param Json|null $value Value to set for the matchType property. - */ - public function setMatchType(?Json $value): void { - $this->getBackingStore()->set('matchType', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php index 08768e8ceac..19dec1d6381 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Max/MaxPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Max; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php index 4053556d111..5446e9ba1ab 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MaxA/MaxAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\MaxA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php index bfc3f5dafab..5b8b577bfea 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mduration/MdurationPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Mduration; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the coupon property value. The coupon property - * @return Json|null - */ - public function getCoupon(): ?Json { - $val = $this->getBackingStore()->get('coupon'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'coupon'"); - } - /** * The deserialization information for the current model * @return array @@ -87,74 +62,14 @@ public function getCoupon(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'coupon' => fn(ParseNode $n) => $o->setCoupon($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('coupon', $this->getCoupon()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the coupon property value. The coupon property - * @param Json|null $value Value to set for the coupon property. - */ - public function setCoupon(?Json $value): void { - $this->getBackingStore()->set('coupon', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php index 8129b946d35..e592c3fe322 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Median/MedianPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Median; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php index e067a25b00d..8c38ab2866f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mid/MidPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Mid; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numChars' => fn(ParseNode $n) => $o->setNumChars($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numChars property value. The numChars property - * @return Json|null - */ - public function getNumChars(): ?Json { - $val = $this->getBackingStore()->get('numChars'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numChars'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numChars', $this->getNumChars()); - $writer->writeObjectValue('startNum', $this->getStartNum()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numChars property value. The numChars property - * @param Json|null $value Value to set for the numChars property. - */ - public function setNumChars(?Json $value): void { - $this->getBackingStore()->set('numChars', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php index 1a432d63d7f..2ff4b68a487 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Midb/MidbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Midb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numBytes' => fn(ParseNode $n) => $o->setNumBytes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numBytes property value. The numBytes property - * @return Json|null - */ - public function getNumBytes(): ?Json { - $val = $this->getBackingStore()->get('numBytes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numBytes'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numBytes', $this->getNumBytes()); - $writer->writeObjectValue('startNum', $this->getStartNum()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numBytes property value. The numBytes property - * @param Json|null $value Value to set for the numBytes property. - */ - public function setNumBytes(?Json $value): void { - $this->getBackingStore()->set('numBytes', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php index efc5599279d..819822f8930 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Min/MinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Min; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php index 61b3cd35695..fd8eb3016e8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MinA/MinAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\MinA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php index 43f07ab772b..72b7efd8a77 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Minute/MinutePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Minute; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php index 05b9cf09e3b..88ff79cb0b0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mirr/MirrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Mirr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'financeRate' => fn(ParseNode $n) => $o->setFinanceRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'reinvestRate' => fn(ParseNode $n) => $o->setReinvestRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the financeRate property value. The financeRate property - * @return Json|null - */ - public function getFinanceRate(): ?Json { - $val = $this->getBackingStore()->get('financeRate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'financeRate'"); - } - - /** - * Gets the reinvestRate property value. The reinvestRate property - * @return Json|null - */ - public function getReinvestRate(): ?Json { - $val = $this->getBackingStore()->get('reinvestRate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reinvestRate'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('financeRate', $this->getFinanceRate()); - $writer->writeObjectValue('reinvestRate', $this->getReinvestRate()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the financeRate property value. The financeRate property - * @param Json|null $value Value to set for the financeRate property. - */ - public function setFinanceRate(?Json $value): void { - $this->getBackingStore()->set('financeRate', $value); - } - - /** - * Sets the reinvestRate property value. The reinvestRate property - * @param Json|null $value Value to set for the reinvestRate property. - */ - public function setReinvestRate(?Json $value): void { - $this->getBackingStore()->set('reinvestRate', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php index 841e1fd2235..3b5734c8c32 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mod/ModPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Mod; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the divisor property value. The divisor property - * @return Json|null - */ - public function getDivisor(): ?Json { - $val = $this->getBackingStore()->get('divisor'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'divisor'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDivisor(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'divisor' => fn(ParseNode $n) => $o->setDivisor($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('divisor', $this->getDivisor()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the divisor property value. The divisor property - * @param Json|null $value Value to set for the divisor property. - */ - public function setDivisor(?Json $value): void { - $this->getBackingStore()->set('divisor', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php index 48cb481181c..fdd5d856ba4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Month/MonthPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Month; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php index d4b2a7c0cf1..58376ad47c9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Mround/MroundPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Mround; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'multiple' => fn(ParseNode $n) => $o->setMultiple($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the multiple property value. The multiple property - * @return Json|null - */ - public function getMultiple(): ?Json { - $val = $this->getBackingStore()->get('multiple'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'multiple'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('multiple', $this->getMultiple()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the multiple property value. The multiple property - * @param Json|null $value Value to set for the multiple property. - */ - public function setMultiple(?Json $value): void { - $this->getBackingStore()->set('multiple', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php index 6207281c705..aab5ba55296 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/MultiNomial/MultiNomialPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\MultiNomial; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NPostRequestBody.php index 9b653aa77d2..0df792c8097 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/N/NPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\N; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php index fca58c1efc7..760d15cd083 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\NegBinom_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberF' => fn(ParseNode $n) => $o->setNumberF($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberS' => fn(ParseNode $n) => $o->setNumberS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probabilityS' => fn(ParseNode $n) => $o->setProbabilityS($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberF property value. The numberF property - * @return Json|null - */ - public function getNumberF(): ?Json { - $val = $this->getBackingStore()->get('numberF'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberF'"); - } - - /** - * Gets the numberS property value. The numberS property - * @return Json|null - */ - public function getNumberS(): ?Json { - $val = $this->getBackingStore()->get('numberS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberS'"); - } - - /** - * Gets the probabilityS property value. The probabilityS property - * @return Json|null - */ - public function getProbabilityS(): ?Json { - $val = $this->getBackingStore()->get('probabilityS'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probabilityS'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('numberF', $this->getNumberF()); - $writer->writeObjectValue('numberS', $this->getNumberS()); - $writer->writeObjectValue('probabilityS', $this->getProbabilityS()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the numberF property value. The numberF property - * @param Json|null $value Value to set for the numberF property. - */ - public function setNumberF(?Json $value): void { - $this->getBackingStore()->set('numberF', $value); - } - - /** - * Sets the numberS property value. The numberS property - * @param Json|null $value Value to set for the numberS property. - */ - public function setNumberS(?Json $value): void { - $this->getBackingStore()->set('numberS', $value); - } - - /** - * Sets the probabilityS property value. The probabilityS property - * @param Json|null $value Value to set for the probabilityS property. - */ - public function setProbabilityS(?Json $value): void { - $this->getBackingStore()->set('probabilityS', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php index be630f6b2fd..b6bbe7ce7d3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\NetworkDays; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'holidays' => fn(ParseNode $n) => $o->setHolidays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the holidays property value. The holidays property - * @return Json|null - */ - public function getHolidays(): ?Json { - $val = $this->getBackingStore()->get('holidays'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'holidays'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('holidays', $this->getHolidays()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the holidays property value. The holidays property - * @param Json|null $value Value to set for the holidays property. - */ - public function setHolidays(?Json $value): void { - $this->getBackingStore()->set('holidays', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php index 2bbebae9dd3..66e667426af 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\NetworkDays_Intl; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'holidays' => fn(ParseNode $n) => $o->setHolidays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'weekend' => fn(ParseNode $n) => $o->setWeekend($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the holidays property value. The holidays property - * @return Json|null - */ - public function getHolidays(): ?Json { - $val = $this->getBackingStore()->get('holidays'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'holidays'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - - /** - * Gets the weekend property value. The weekend property - * @return Json|null - */ - public function getWeekend(): ?Json { - $val = $this->getBackingStore()->get('weekend'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'weekend'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('holidays', $this->getHolidays()); - $writer->writeObjectValue('startDate', $this->getStartDate()); - $writer->writeObjectValue('weekend', $this->getWeekend()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the holidays property value. The holidays property - * @param Json|null $value Value to set for the holidays property. - */ - public function setHolidays(?Json $value): void { - $this->getBackingStore()->set('holidays', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - - /** - * Sets the weekend property value. The weekend property - * @param Json|null $value Value to set for the weekend property. - */ - public function setWeekend(?Json $value): void { - $this->getBackingStore()->set('weekend', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php index 883ced06d97..de351222ccd 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nominal/NominalPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Nominal; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the effectRate property value. The effectRate property - * @return Json|null - */ - public function getEffectRate(): ?Json { - $val = $this->getBackingStore()->get('effectRate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'effectRate'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEffectRate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'effectRate' => fn(ParseNode $n) => $o->setEffectRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'npery' => fn(ParseNode $n) => $o->setNpery($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the npery property value. The npery property - * @return Json|null - */ - public function getNpery(): ?Json { - $val = $this->getBackingStore()->get('npery'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'npery'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('effectRate', $this->getEffectRate()); - $writer->writeObjectValue('npery', $this->getNpery()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the effectRate property value. The effectRate property - * @param Json|null $value Value to set for the effectRate property. - */ - public function setEffectRate(?Json $value): void { - $this->getBackingStore()->set('effectRate', $value); - } - - /** - * Sets the npery property value. The npery property - * @param Json|null $value Value to set for the npery property. - */ - public function setNpery(?Json $value): void { - $this->getBackingStore()->set('npery', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php index 881c86e9e2b..4709bd12aa7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Norm_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php index 43a8fe0eee2..881b425e862 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Norm_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('probability', $this->getProbability()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php index ef990d45435..f7613b664c6 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Norm_S_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'z' => fn(ParseNode $n) => $o->setZ($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the z property value. The z property - * @return Json|null - */ - public function getZ(): ?Json { - $val = $this->getBackingStore()->get('z'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'z'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('z', $this->getZ()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the z property value. The z property - * @param Json|null $value Value to set for the z property. - */ - public function setZ(?Json $value): void { - $this->getBackingStore()->set('z', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php index 4a6b7d0a515..eb290956d64 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Norm_S_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php index e7057440f88..d01f4076a92 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Not/NotPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Not; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'logical' => fn(ParseNode $n) => $o->setLogical($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the logical property value. The logical property - * @return Json|null - */ - public function getLogical(): ?Json { - $val = $this->getBackingStore()->get('logical'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'logical'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('logical', $this->getLogical()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the logical property value. The logical property - * @param Json|null $value Value to set for the logical property. - */ - public function setLogical(?Json $value): void { - $this->getBackingStore()->set('logical', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php index 49e6397d6c0..096a9a7bdbe 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Nper/NperPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Nper; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,84 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pmt' => fn(ParseNode $n) => $o->setPmt($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the pmt property value. The pmt property - * @return Json|null - */ - public function getPmt(): ?Json { - $val = $this->getBackingStore()->get('pmt'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pmt'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('pmt', $this->getPmt()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the pmt property value. The pmt property - * @param Json|null $value Value to set for the pmt property. - */ - public function setPmt(?Json $value): void { - $this->getBackingStore()->set('pmt', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php index ad60e9ad672..b2e18f4ab3b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Npv/NpvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Npv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php index 853a72074d7..990647af96a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/NumberValue/NumberValuePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\NumberValue; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimalSeparator property value. The decimalSeparator property - * @return Json|null - */ - public function getDecimalSeparator(): ?Json { - $val = $this->getBackingStore()->get('decimalSeparator'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimalSeparator'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDecimalSeparator(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimalSeparator' => fn(ParseNode $n) => $o->setDecimalSeparator($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'groupSeparator' => fn(ParseNode $n) => $o->setGroupSeparator($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the groupSeparator property value. The groupSeparator property - * @return Json|null - */ - public function getGroupSeparator(): ?Json { - $val = $this->getBackingStore()->get('groupSeparator'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'groupSeparator'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimalSeparator', $this->getDecimalSeparator()); - $writer->writeObjectValue('groupSeparator', $this->getGroupSeparator()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimalSeparator property value. The decimalSeparator property - * @param Json|null $value Value to set for the decimalSeparator property. - */ - public function setDecimalSeparator(?Json $value): void { - $this->getBackingStore()->set('decimalSeparator', $value); - } - - /** - * Sets the groupSeparator property value. The groupSeparator property - * @param Json|null $value Value to set for the groupSeparator property. - */ - public function setGroupSeparator(?Json $value): void { - $this->getBackingStore()->set('groupSeparator', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php index 79c791e06ad..974ad7cab02 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Oct2Bin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php index fcdeb812a43..52676cb7ba1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Oct2Dec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php index ce973025ac4..d0b4f906a23 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Oct2Hex; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'places' => fn(ParseNode $n) => $o->setPlaces($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the places property value. The places property - * @return Json|null - */ - public function getPlaces(): ?Json { - $val = $this->getBackingStore()->get('places'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'places'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('places', $this->getPlaces()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the places property value. The places property - * @param Json|null $value Value to set for the places property. - */ - public function setPlaces(?Json $value): void { - $this->getBackingStore()->set('places', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php index 528d29f5fea..2d5d54f74c4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Odd/OddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Odd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php index 0e80f4dc663..a4dab6a5ce5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFPrice/OddFPricePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\OddFPrice; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,128 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstCoupon' => fn(ParseNode $n) => $o->setFirstCoupon($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstCoupon property value. The firstCoupon property - * @return Json|null - */ - public function getFirstCoupon(): ?Json { - $val = $this->getBackingStore()->get('firstCoupon'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstCoupon'"); - } - - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('firstCoupon', $this->getFirstCoupon()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -216,76 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the firstCoupon property value. The firstCoupon property - * @param Json|null $value Value to set for the firstCoupon property. - */ - public function setFirstCoupon(?Json $value): void { - $this->getBackingStore()->set('firstCoupon', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php index 2e89ddca0bf..00f69ab4bc3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddFYield/OddFYieldPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\OddFYield; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,128 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'firstCoupon' => fn(ParseNode $n) => $o->setFirstCoupon($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the firstCoupon property value. The firstCoupon property - * @return Json|null - */ - public function getFirstCoupon(): ?Json { - $val = $this->getBackingStore()->get('firstCoupon'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'firstCoupon'"); - } - - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('firstCoupon', $this->getFirstCoupon()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -216,76 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the firstCoupon property value. The firstCoupon property - * @param Json|null $value Value to set for the firstCoupon property. - */ - public function setFirstCoupon(?Json $value): void { - $this->getBackingStore()->set('firstCoupon', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php index 4a1bfcf3e5a..6eae8104125 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLPrice/OddLPricePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\OddLPrice; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,114 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lastInterest' => fn(ParseNode $n) => $o->setLastInterest($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the lastInterest property value. The lastInterest property - * @return Json|null - */ - public function getLastInterest(): ?Json { - $val = $this->getBackingStore()->get('lastInterest'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lastInterest'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('lastInterest', $this->getLastInterest()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -202,68 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the lastInterest property value. The lastInterest property - * @param Json|null $value Value to set for the lastInterest property. - */ - public function setLastInterest(?Json $value): void { - $this->getBackingStore()->set('lastInterest', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php index 0ad64dbf105..8ee78072bfe 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/OddLYield/OddLYieldPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\OddLYield; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,114 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lastInterest' => fn(ParseNode $n) => $o->setLastInterest($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the lastInterest property value. The lastInterest property - * @return Json|null - */ - public function getLastInterest(): ?Json { - $val = $this->getBackingStore()->get('lastInterest'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lastInterest'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('lastInterest', $this->getLastInterest()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -202,68 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the lastInterest property value. The lastInterest property - * @param Json|null $value Value to set for the lastInterest property. - */ - public function setLastInterest(?Json $value): void { - $this->getBackingStore()->set('lastInterest', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php index 77c8c1c2bd3..69e079a4f10 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pduration/PdurationPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Pduration; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php index 3b353d0e283..e88dad3b72c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\PercentRank_Exc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('significance', $this->getSignificance()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php index 9db0fea777c..fd73f478ade 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\PercentRank_Inc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'significance' => fn(ParseNode $n) => $o->setSignificance($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the significance property value. The significance property - * @return Json|null - */ - public function getSignificance(): ?Json { - $val = $this->getBackingStore()->get('significance'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'significance'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('significance', $this->getSignificance()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the significance property value. The significance property - * @param Json|null $value Value to set for the significance property. - */ - public function setSignificance(?Json $value): void { - $this->getBackingStore()->set('significance', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php index f6bd8a8d6ff..fc94aa240c1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Percentile_Exc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'k' => fn(ParseNode $n) => $o->setK($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the k property value. The k property - * @return Json|null - */ - public function getK(): ?Json { - $val = $this->getBackingStore()->get('k'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'k'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('k', $this->getK()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the k property value. The k property - * @param Json|null $value Value to set for the k property. - */ - public function setK(?Json $value): void { - $this->getBackingStore()->set('k', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php index 011b4431980..e860ccf2963 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Percentile_Inc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'k' => fn(ParseNode $n) => $o->setK($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the k property value. The k property - * @return Json|null - */ - public function getK(): ?Json { - $val = $this->getBackingStore()->get('k'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'k'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('k', $this->getK()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the k property value. The k property - * @param Json|null $value Value to set for the k property. - */ - public function setK(?Json $value): void { - $this->getBackingStore()->set('k', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php index 07122f0d65d..b53749a1289 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permut/PermutPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Permut; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberChosen' => fn(ParseNode $n) => $o->setNumberChosen($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numberChosen property value. The numberChosen property - * @return Json|null - */ - public function getNumberChosen(): ?Json { - $val = $this->getBackingStore()->get('numberChosen'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberChosen'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numberChosen', $this->getNumberChosen()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numberChosen property value. The numberChosen property - * @param Json|null $value Value to set for the numberChosen property. - */ - public function setNumberChosen(?Json $value): void { - $this->getBackingStore()->set('numberChosen', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php index fa17a5fc7ae..a24b1aac625 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Permutationa/PermutationaPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Permutationa; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numberChosen' => fn(ParseNode $n) => $o->setNumberChosen($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numberChosen property value. The numberChosen property - * @return Json|null - */ - public function getNumberChosen(): ?Json { - $val = $this->getBackingStore()->get('numberChosen'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberChosen'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numberChosen', $this->getNumberChosen()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numberChosen property value. The numberChosen property - * @param Json|null $value Value to set for the numberChosen property. - */ - public function setNumberChosen(?Json $value): void { - $this->getBackingStore()->set('numberChosen', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php index 58076da1c71..9cc323fb9b2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Phi/PhiPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Phi; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php index 44c84ea6d59..4a67cbf4880 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pmt/PmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Pmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,84 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php index e91e69bf603..b24eab6d7e2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Poisson_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php index 08bd1a0cc1f..ddd3d991588 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Power/PowerPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Power; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'power' => fn(ParseNode $n) => $o->setPower($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the power property value. The power property - * @return Json|null - */ - public function getPower(): ?Json { - $val = $this->getBackingStore()->get('power'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'power'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('power', $this->getPower()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the power property value. The power property - * @param Json|null $value Value to set for the power property. - */ - public function setPower(?Json $value): void { - $this->getBackingStore()->set('power', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php index 7da42057f6e..30b8ba0e45b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Ppmt/PpmtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Ppmt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,98 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'per' => fn(ParseNode $n) => $o->setPer($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the per property value. The per property - * @return Json|null - */ - public function getPer(): ?Json { - $val = $this->getBackingStore()->get('per'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'per'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('per', $this->getPer()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the per property value. The per property - * @param Json|null $value Value to set for the per property. - */ - public function setPer(?Json $value): void { - $this->getBackingStore()->set('per', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php index 27c339fe4b9..0fb37a2a605 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Price/PricePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Price; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,100 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'frequency' => fn(ParseNode $n) => $o->setFrequency($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the frequency property value. The frequency property - * @return Json|null - */ - public function getFrequency(): ?Json { - $val = $this->getBackingStore()->get('frequency'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'frequency'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('frequency', $this->getFrequency()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the frequency property value. The frequency property - * @param Json|null $value Value to set for the frequency property. - */ - public function setFrequency(?Json $value): void { - $this->getBackingStore()->set('frequency', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php index a36a38f1e22..13c1f9ce26f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceDisc/PriceDiscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\PriceDisc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the discount property value. The discount property - * @return Json|null - */ - public function getDiscount(): ?Json { - $val = $this->getBackingStore()->get('discount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'discount'"); - } - /** * The deserialization information for the current model * @return array @@ -87,60 +62,14 @@ public function getDiscount(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'discount' => fn(ParseNode $n) => $o->setDiscount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('discount', $this->getDiscount()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the discount property value. The discount property - * @param Json|null $value Value to set for the discount property. - */ - public function setDiscount(?Json $value): void { - $this->getBackingStore()->set('discount', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php index 5db4acb0fb3..d7dd9b93758 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/PriceMat/PriceMatPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\PriceMat; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,86 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'yld' => fn(ParseNode $n) => $o->setYld($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - - /** - * Gets the yld property value. The yld property - * @return Json|null - */ - public function getYld(): ?Json { - $val = $this->getBackingStore()->get('yld'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'yld'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('settlement', $this->getSettlement()); - $writer->writeObjectValue('yld', $this->getYld()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - - /** - * Sets the yld property value. The yld property - * @param Json|null $value Value to set for the yld property. - */ - public function setYld(?Json $value): void { - $this->getBackingStore()->set('yld', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php index 6c21210b48a..064aca6380b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Product/ProductPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Product; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php index 684f2c3f224..705e962f3f8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Proper/ProperPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Proper; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php index a240c116e57..27f6bfe2675 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Pv/PvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Pv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,84 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pmt' => fn(ParseNode $n) => $o->setPmt($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pmt property value. The pmt property - * @return Json|null - */ - public function getPmt(): ?Json { - $val = $this->getBackingStore()->get('pmt'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pmt'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pmt', $this->getPmt()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pmt property value. The pmt property - * @param Json|null $value Value to set for the pmt property. - */ - public function setPmt(?Json $value): void { - $this->getBackingStore()->set('pmt', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php index 513ec69df0f..4104c0130fc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Quartile_Exc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'quart' => fn(ParseNode $n) => $o->setQuart($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the quart property value. The quart property - * @return Json|null - */ - public function getQuart(): ?Json { - $val = $this->getBackingStore()->get('quart'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'quart'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('quart', $this->getQuart()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the quart property value. The quart property - * @param Json|null $value Value to set for the quart property. - */ - public function setQuart(?Json $value): void { - $this->getBackingStore()->set('quart', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php index e437d46cdaa..96b8b51ab8b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Quartile_Inc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'quart' => fn(ParseNode $n) => $o->setQuart($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the quart property value. The quart property - * @return Json|null - */ - public function getQuart(): ?Json { - $val = $this->getBackingStore()->get('quart'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'quart'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('quart', $this->getQuart()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the quart property value. The quart property - * @param Json|null $value Value to set for the quart property. - */ - public function setQuart(?Json $value): void { - $this->getBackingStore()->set('quart', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php index b0a53c1bd62..20b2a0c65f3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Quotient/QuotientPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Quotient; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the denominator property value. The denominator property - * @return Json|null - */ - public function getDenominator(): ?Json { - $val = $this->getBackingStore()->get('denominator'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'denominator'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDenominator(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'denominator' => fn(ParseNode $n) => $o->setDenominator($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numerator' => fn(ParseNode $n) => $o->setNumerator($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numerator property value. The numerator property - * @return Json|null - */ - public function getNumerator(): ?Json { - $val = $this->getBackingStore()->get('numerator'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numerator'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('denominator', $this->getDenominator()); - $writer->writeObjectValue('numerator', $this->getNumerator()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the denominator property value. The denominator property - * @param Json|null $value Value to set for the denominator property. - */ - public function setDenominator(?Json $value): void { - $this->getBackingStore()->set('denominator', $value); - } - - /** - * Sets the numerator property value. The numerator property - * @param Json|null $value Value to set for the numerator property. - */ - public function setNumerator(?Json $value): void { - $this->getBackingStore()->set('numerator', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php index 67a60d9cfee..ba96e627125 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Radians/RadiansPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Radians; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the angle property value. The angle property - * @return Json|null - */ - public function getAngle(): ?Json { - $val = $this->getBackingStore()->get('angle'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'angle'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,7 +62,6 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'angle' => fn(ParseNode $n) => $o->setAngle($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('angle', $this->getAngle()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -96,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the angle property value. The angle property - * @param Json|null $value Value to set for the angle property. - */ - public function setAngle(?Json $value): void { - $this->getBackingStore()->set('angle', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php index 64acbab3375..d5568a5c1e7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RandBetween/RandBetweenPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\RandBetween; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the bottom property value. The bottom property - * @return Json|null - */ - public function getBottom(): ?Json { - $val = $this->getBackingStore()->get('bottom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'bottom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getBottom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'bottom' => fn(ParseNode $n) => $o->setBottom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'top' => fn(ParseNode $n) => $o->setTop($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the top property value. The top property - * @return Json|null - */ - public function getTop(): ?Json { - $val = $this->getBackingStore()->get('top'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'top'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('bottom', $this->getBottom()); - $writer->writeObjectValue('top', $this->getTop()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the bottom property value. The bottom property - * @param Json|null $value Value to set for the bottom property. - */ - public function setBottom(?Json $value): void { - $this->getBackingStore()->set('bottom', $value); - } - - /** - * Sets the top property value. The top property - * @param Json|null $value Value to set for the top property. - */ - public function setTop(?Json $value): void { - $this->getBackingStore()->set('top', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php index 91dde0b7011..5fea47bc122 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Rank_Avg; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'order' => fn(ParseNode $n) => $o->setOrder($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'ref' => fn(ParseNode $n) => $o->setRef($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the order property value. The order property - * @return Json|null - */ - public function getOrder(): ?Json { - $val = $this->getBackingStore()->get('order'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'order'"); - } - - /** - * Gets the ref property value. The ref property - * @return Json|null - */ - public function getRef(): ?Json { - $val = $this->getBackingStore()->get('ref'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'ref'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('order', $this->getOrder()); - $writer->writeObjectValue('ref', $this->getRef()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the order property value. The order property - * @param Json|null $value Value to set for the order property. - */ - public function setOrder(?Json $value): void { - $this->getBackingStore()->set('order', $value); - } - - /** - * Sets the ref property value. The ref property - * @param Json|null $value Value to set for the ref property. - */ - public function setRef(?Json $value): void { - $this->getBackingStore()->set('ref', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php index bc96f5e6d56..f094e9bf873 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Rank_Eq; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'order' => fn(ParseNode $n) => $o->setOrder($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'ref' => fn(ParseNode $n) => $o->setRef($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the order property value. The order property - * @return Json|null - */ - public function getOrder(): ?Json { - $val = $this->getBackingStore()->get('order'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'order'"); - } - - /** - * Gets the ref property value. The ref property - * @return Json|null - */ - public function getRef(): ?Json { - $val = $this->getBackingStore()->get('ref'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'ref'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('order', $this->getOrder()); - $writer->writeObjectValue('ref', $this->getRef()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the order property value. The order property - * @param Json|null $value Value to set for the order property. - */ - public function setOrder(?Json $value): void { - $this->getBackingStore()->set('order', $value); - } - - /** - * Sets the ref property value. The ref property - * @param Json|null $value Value to set for the ref property. - */ - public function setRef(?Json $value): void { - $this->getBackingStore()->set('ref', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php index dd0ee3862e3..52941070a47 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rate/RatePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Rate; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,98 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'guess' => fn(ParseNode $n) => $o->setGuess($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pmt' => fn(ParseNode $n) => $o->setPmt($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'type' => fn(ParseNode $n) => $o->setType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the guess property value. The guess property - * @return Json|null - */ - public function getGuess(): ?Json { - $val = $this->getBackingStore()->get('guess'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'guess'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pmt property value. The pmt property - * @return Json|null - */ - public function getPmt(): ?Json { - $val = $this->getBackingStore()->get('pmt'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pmt'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - - /** - * Gets the type property value. The type property - * @return Json|null - */ - public function getType(): ?Json { - $val = $this->getBackingStore()->get('type'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('guess', $this->getGuess()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pmt', $this->getPmt()); - $writer->writeObjectValue('pv', $this->getPv()); - $writer->writeObjectValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the guess property value. The guess property - * @param Json|null $value Value to set for the guess property. - */ - public function setGuess(?Json $value): void { - $this->getBackingStore()->set('guess', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pmt property value. The pmt property - * @param Json|null $value Value to set for the pmt property. - */ - public function setPmt(?Json $value): void { - $this->getBackingStore()->set('pmt', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - - /** - * Sets the type property value. The type property - * @param Json|null $value Value to set for the type property. - */ - public function setType(?Json $value): void { - $this->getBackingStore()->set('type', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php index c59924f6173..a8586cf4fa3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Received/ReceivedPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Received; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the discount property value. The discount property - * @return Json|null - */ - public function getDiscount(): ?Json { - $val = $this->getBackingStore()->get('discount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'discount'"); - } - /** * The deserialization information for the current model * @return array @@ -87,60 +62,14 @@ public function getDiscount(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'discount' => fn(ParseNode $n) => $o->setDiscount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'investment' => fn(ParseNode $n) => $o->setInvestment($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the investment property value. The investment property - * @return Json|null - */ - public function getInvestment(): ?Json { - $val = $this->getBackingStore()->get('investment'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'investment'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('discount', $this->getDiscount()); - $writer->writeObjectValue('investment', $this->getInvestment()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the discount property value. The discount property - * @param Json|null $value Value to set for the discount property. - */ - public function setDiscount(?Json $value): void { - $this->getBackingStore()->set('discount', $value); - } - - /** - * Sets the investment property value. The investment property - * @param Json|null $value Value to set for the investment property. - */ - public function setInvestment(?Json $value): void { - $this->getBackingStore()->set('investment', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php index 52be2972f4b..eb731cd1916 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Replace/ReplacePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Replace; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'newText' => fn(ParseNode $n) => $o->setNewText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numChars' => fn(ParseNode $n) => $o->setNumChars($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'oldText' => fn(ParseNode $n) => $o->setOldText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the newText property value. The newText property - * @return Json|null - */ - public function getNewText(): ?Json { - $val = $this->getBackingStore()->get('newText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'newText'"); - } - - /** - * Gets the numChars property value. The numChars property - * @return Json|null - */ - public function getNumChars(): ?Json { - $val = $this->getBackingStore()->get('numChars'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numChars'"); - } - - /** - * Gets the oldText property value. The oldText property - * @return Json|null - */ - public function getOldText(): ?Json { - $val = $this->getBackingStore()->get('oldText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'oldText'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('newText', $this->getNewText()); - $writer->writeObjectValue('numChars', $this->getNumChars()); - $writer->writeObjectValue('oldText', $this->getOldText()); - $writer->writeObjectValue('startNum', $this->getStartNum()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the newText property value. The newText property - * @param Json|null $value Value to set for the newText property. - */ - public function setNewText(?Json $value): void { - $this->getBackingStore()->set('newText', $value); - } - - /** - * Sets the numChars property value. The numChars property - * @param Json|null $value Value to set for the numChars property. - */ - public function setNumChars(?Json $value): void { - $this->getBackingStore()->set('numChars', $value); - } - - /** - * Sets the oldText property value. The oldText property - * @param Json|null $value Value to set for the oldText property. - */ - public function setOldText(?Json $value): void { - $this->getBackingStore()->set('oldText', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php index d8083692b41..b0ac0602de1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/ReplaceB/ReplaceBPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\ReplaceB; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'newText' => fn(ParseNode $n) => $o->setNewText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numBytes' => fn(ParseNode $n) => $o->setNumBytes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'oldText' => fn(ParseNode $n) => $o->setOldText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startNum' => fn(ParseNode $n) => $o->setStartNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the newText property value. The newText property - * @return Json|null - */ - public function getNewText(): ?Json { - $val = $this->getBackingStore()->get('newText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'newText'"); - } - - /** - * Gets the numBytes property value. The numBytes property - * @return Json|null - */ - public function getNumBytes(): ?Json { - $val = $this->getBackingStore()->get('numBytes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numBytes'"); - } - - /** - * Gets the oldText property value. The oldText property - * @return Json|null - */ - public function getOldText(): ?Json { - $val = $this->getBackingStore()->get('oldText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'oldText'"); - } - - /** - * Gets the startNum property value. The startNum property - * @return Json|null - */ - public function getStartNum(): ?Json { - $val = $this->getBackingStore()->get('startNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startNum'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('newText', $this->getNewText()); - $writer->writeObjectValue('numBytes', $this->getNumBytes()); - $writer->writeObjectValue('oldText', $this->getOldText()); - $writer->writeObjectValue('startNum', $this->getStartNum()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the newText property value. The newText property - * @param Json|null $value Value to set for the newText property. - */ - public function setNewText(?Json $value): void { - $this->getBackingStore()->set('newText', $value); - } - - /** - * Sets the numBytes property value. The numBytes property - * @param Json|null $value Value to set for the numBytes property. - */ - public function setNumBytes(?Json $value): void { - $this->getBackingStore()->set('numBytes', $value); - } - - /** - * Sets the oldText property value. The oldText property - * @param Json|null $value Value to set for the oldText property. - */ - public function setOldText(?Json $value): void { - $this->getBackingStore()->set('oldText', $value); - } - - /** - * Sets the startNum property value. The startNum property - * @param Json|null $value Value to set for the startNum property. - */ - public function setStartNum(?Json $value): void { - $this->getBackingStore()->set('startNum', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php index 29aca8515e6..393f439311d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rept/ReptPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Rept; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numberTimes' => fn(ParseNode $n) => $o->setNumberTimes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numberTimes property value. The numberTimes property - * @return Json|null - */ - public function getNumberTimes(): ?Json { - $val = $this->getBackingStore()->get('numberTimes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numberTimes'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numberTimes', $this->getNumberTimes()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numberTimes property value. The numberTimes property - * @param Json|null $value Value to set for the numberTimes property. - */ - public function setNumberTimes(?Json $value): void { - $this->getBackingStore()->set('numberTimes', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php index 66a159bc757..7d05dd30d2c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Right/RightPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Right; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numChars' => fn(ParseNode $n) => $o->setNumChars($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numChars property value. The numChars property - * @return Json|null - */ - public function getNumChars(): ?Json { - $val = $this->getBackingStore()->get('numChars'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numChars'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numChars', $this->getNumChars()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numChars property value. The numChars property - * @param Json|null $value Value to set for the numChars property. - */ - public function setNumChars(?Json $value): void { - $this->getBackingStore()->set('numChars', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php index 6ee248a5332..843f35b0fe7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rightb/RightbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Rightb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'numBytes' => fn(ParseNode $n) => $o->setNumBytes($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the numBytes property value. The numBytes property - * @return Json|null - */ - public function getNumBytes(): ?Json { - $val = $this->getBackingStore()->get('numBytes'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numBytes'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('numBytes', $this->getNumBytes()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the numBytes property value. The numBytes property - * @param Json|null $value Value to set for the numBytes property. - */ - public function setNumBytes(?Json $value): void { - $this->getBackingStore()->set('numBytes', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php index c57cf957ee9..4531c3444d1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Roman/RomanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Roman; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'form' => fn(ParseNode $n) => $o->setForm($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the form property value. The form property - * @return Json|null - */ - public function getForm(): ?Json { - $val = $this->getBackingStore()->get('form'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'form'"); - } - - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('form', $this->getForm()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the form property value. The form property - * @param Json|null $value Value to set for the form property. - */ - public function setForm(?Json $value): void { - $this->getBackingStore()->set('form', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php index 401efa6ff6e..90c77fdf8e2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Round/RoundPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Round; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numDigits' => fn(ParseNode $n) => $o->setNumDigits($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numDigits property value. The numDigits property - * @return Json|null - */ - public function getNumDigits(): ?Json { - $val = $this->getBackingStore()->get('numDigits'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numDigits'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numDigits', $this->getNumDigits()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numDigits property value. The numDigits property - * @param Json|null $value Value to set for the numDigits property. - */ - public function setNumDigits(?Json $value): void { - $this->getBackingStore()->set('numDigits', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php index 410daa56fb7..41458074d53 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundDown/RoundDownPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\RoundDown; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numDigits' => fn(ParseNode $n) => $o->setNumDigits($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numDigits property value. The numDigits property - * @return Json|null - */ - public function getNumDigits(): ?Json { - $val = $this->getBackingStore()->get('numDigits'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numDigits'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numDigits', $this->getNumDigits()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numDigits property value. The numDigits property - * @param Json|null $value Value to set for the numDigits property. - */ - public function setNumDigits(?Json $value): void { - $this->getBackingStore()->set('numDigits', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php index 87237c491fb..0bc925acb7b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/RoundUp/RoundUpPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\RoundUp; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numDigits' => fn(ParseNode $n) => $o->setNumDigits($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numDigits property value. The numDigits property - * @return Json|null - */ - public function getNumDigits(): ?Json { - $val = $this->getBackingStore()->get('numDigits'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numDigits'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numDigits', $this->getNumDigits()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numDigits property value. The numDigits property - * @param Json|null $value Value to set for the numDigits property. - */ - public function setNumDigits(?Json $value): void { - $this->getBackingStore()->set('numDigits', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php index 1b0e4211f07..1c1522be8df 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rows/RowsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Rows; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,7 +62,6 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -84,7 +70,6 @@ public function getFieldDeserializers(): array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -96,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php index f0571814c66..968f18dc412 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Rri/RriPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Rri; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'fv' => fn(ParseNode $n) => $o->setFv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'nper' => fn(ParseNode $n) => $o->setNper($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pv' => fn(ParseNode $n) => $o->setPv($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the fv property value. The fv property - * @return Json|null - */ - public function getFv(): ?Json { - $val = $this->getBackingStore()->get('fv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'fv'"); - } - - /** - * Gets the nper property value. The nper property - * @return Json|null - */ - public function getNper(): ?Json { - $val = $this->getBackingStore()->get('nper'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'nper'"); - } - - /** - * Gets the pv property value. The pv property - * @return Json|null - */ - public function getPv(): ?Json { - $val = $this->getBackingStore()->get('pv'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pv'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('fv', $this->getFv()); - $writer->writeObjectValue('nper', $this->getNper()); - $writer->writeObjectValue('pv', $this->getPv()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the fv property value. The fv property - * @param Json|null $value Value to set for the fv property. - */ - public function setFv(?Json $value): void { - $this->getBackingStore()->set('fv', $value); - } - - /** - * Sets the nper property value. The nper property - * @param Json|null $value Value to set for the nper property. - */ - public function setNper(?Json $value): void { - $this->getBackingStore()->set('nper', $value); - } - - /** - * Sets the pv property value. The pv property - * @param Json|null $value Value to set for the pv property. - */ - public function setPv(?Json $value): void { - $this->getBackingStore()->set('pv', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php index a13bf03658e..aa605743c78 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sec/SecPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sec; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php index 1b3e748bfe5..bb51e15c0e9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sech/SechPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sech; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php index 1f8661caa97..4887ccaef86 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Second/SecondPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Second; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php index 4839f6dd4b1..195ebafce00 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SeriesSum/SeriesSumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\SeriesSum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the coefficients property value. The coefficients property - * @return Json|null - */ - public function getCoefficients(): ?Json { - $val = $this->getBackingStore()->get('coefficients'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'coefficients'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCoefficients(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'coefficients' => fn(ParseNode $n) => $o->setCoefficients($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'm' => fn(ParseNode $n) => $o->setM($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'n' => fn(ParseNode $n) => $o->setN($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the m property value. The m property - * @return Json|null - */ - public function getM(): ?Json { - $val = $this->getBackingStore()->get('m'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'm'"); - } - - /** - * Gets the n property value. The n property - * @return Json|null - */ - public function getN(): ?Json { - $val = $this->getBackingStore()->get('n'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'n'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('coefficients', $this->getCoefficients()); - $writer->writeObjectValue('m', $this->getM()); - $writer->writeObjectValue('n', $this->getN()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the coefficients property value. The coefficients property - * @param Json|null $value Value to set for the coefficients property. - */ - public function setCoefficients(?Json $value): void { - $this->getBackingStore()->set('coefficients', $value); - } - - /** - * Sets the m property value. The m property - * @param Json|null $value Value to set for the m property. - */ - public function setM(?Json $value): void { - $this->getBackingStore()->set('m', $value); - } - - /** - * Sets the n property value. The n property - * @param Json|null $value Value to set for the n property. - */ - public function setN(?Json $value): void { - $this->getBackingStore()->set('n', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php index 2a7328490c5..c9e127c4826 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheet/SheetPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sheet; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php index 31c1a3b714e..fceb66ac700 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sheets/SheetsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sheets; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php index 41bb61d4ce3..948998d4510 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sign/SignPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sign; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php index aff786da161..19e70d8373f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sin/SinPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sin; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php index 13098aa4826..46c1598b7a6 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sinh/SinhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sinh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php index 7fc5e0750e3..ae8c6d2207f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew/SkewPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Skew; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php index e0bc204ffc0..0134d07a1f0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Skew_p/Skew_pPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Skew_p; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php index 05a06ec4dce..3967af80a6f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sln/SlnPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sln; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getCost(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php index bafb536d419..ea0cdb73cd5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Small/SmallPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Small; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'k' => fn(ParseNode $n) => $o->setK($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the k property value. The k property - * @return Json|null - */ - public function getK(): ?Json { - $val = $this->getBackingStore()->get('k'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'k'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('k', $this->getK()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the k property value. The k property - * @param Json|null $value Value to set for the k property. - */ - public function setK(?Json $value): void { - $this->getBackingStore()->set('k', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php index eaaff067256..438696e9282 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sqrt/SqrtPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sqrt; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php index d64e1453b59..c8e8631925a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SqrtPi/SqrtPiPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\SqrtPi; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php index 51b4f8d6fe4..1fa37ac98ae 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevA/StDevAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\StDevA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php index 2b08eb4c125..ad5e7ab7019 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDevPA/StDevPAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\StDevPA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php index 48f869ef5d1..c2e54d5955e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_P/StDev_PPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\StDev_P; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php index 06c49467db7..5be222b2625 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/StDev_S/StDev_SPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\StDev_S; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php index a7abd7222e5..2ecf67bd154 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Standardize/StandardizePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Standardize; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mean' => fn(ParseNode $n) => $o->setMean($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'standardDev' => fn(ParseNode $n) => $o->setStandardDev($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the mean property value. The mean property - * @return Json|null - */ - public function getMean(): ?Json { - $val = $this->getBackingStore()->get('mean'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mean'"); - } - - /** - * Gets the standardDev property value. The standardDev property - * @return Json|null - */ - public function getStandardDev(): ?Json { - $val = $this->getBackingStore()->get('standardDev'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'standardDev'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('mean', $this->getMean()); - $writer->writeObjectValue('standardDev', $this->getStandardDev()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mean property value. The mean property - * @param Json|null $value Value to set for the mean property. - */ - public function setMean(?Json $value): void { - $this->getBackingStore()->set('mean', $value); - } - - /** - * Sets the standardDev property value. The standardDev property - * @param Json|null $value Value to set for the standardDev property. - */ - public function setStandardDev(?Json $value): void { - $this->getBackingStore()->set('standardDev', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php index 9b211a99c25..ba315f4cadc 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Substitute/SubstitutePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Substitute; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,70 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'instanceNum' => fn(ParseNode $n) => $o->setInstanceNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'newText' => fn(ParseNode $n) => $o->setNewText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'oldText' => fn(ParseNode $n) => $o->setOldText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the instanceNum property value. The instanceNum property - * @return Json|null - */ - public function getInstanceNum(): ?Json { - $val = $this->getBackingStore()->get('instanceNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'instanceNum'"); - } - - /** - * Gets the newText property value. The newText property - * @return Json|null - */ - public function getNewText(): ?Json { - $val = $this->getBackingStore()->get('newText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'newText'"); - } - - /** - * Gets the oldText property value. The oldText property - * @return Json|null - */ - public function getOldText(): ?Json { - $val = $this->getBackingStore()->get('oldText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'oldText'"); - } - - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('instanceNum', $this->getInstanceNum()); - $writer->writeObjectValue('newText', $this->getNewText()); - $writer->writeObjectValue('oldText', $this->getOldText()); - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the instanceNum property value. The instanceNum property - * @param Json|null $value Value to set for the instanceNum property. - */ - public function setInstanceNum(?Json $value): void { - $this->getBackingStore()->set('instanceNum', $value); - } - - /** - * Sets the newText property value. The newText property - * @param Json|null $value Value to set for the newText property. - */ - public function setNewText(?Json $value): void { - $this->getBackingStore()->set('newText', $value); - } - - /** - * Sets the oldText property value. The oldText property - * @param Json|null $value Value to set for the oldText property. - */ - public function setOldText(?Json $value): void { - $this->getBackingStore()->set('oldText', $value); - } - - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php index 0d8abc43e10..c780ca04ae6 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Subtotal/SubtotalPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Subtotal; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'functionNum' => fn(ParseNode $n) => $o->setFunctionNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the functionNum property value. The functionNum property - * @return Json|null - */ - public function getFunctionNum(): ?Json { - $val = $this->getBackingStore()->get('functionNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'functionNum'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('functionNum', $this->getFunctionNum()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the functionNum property value. The functionNum property - * @param Json|null $value Value to set for the functionNum property. - */ - public function setFunctionNum(?Json $value): void { - $this->getBackingStore()->set('functionNum', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php index 7cb7c250090..d6b3f0c7ae0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Sum/SumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Sum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php index a89bb7a8859..1982160d1cb 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIf/SumIfPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\SumIf; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the criteria property value. The criteria property - * @return Json|null - */ - public function getCriteria(): ?Json { - $val = $this->getBackingStore()->get('criteria'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'criteria'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getCriteria(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'criteria' => fn(ParseNode $n) => $o->setCriteria($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'range' => fn(ParseNode $n) => $o->setRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'sumRange' => fn(ParseNode $n) => $o->setSumRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the range property value. The range property - * @return Json|null - */ - public function getRange(): ?Json { - $val = $this->getBackingStore()->get('range'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'range'"); - } - - /** - * Gets the sumRange property value. The sumRange property - * @return Json|null - */ - public function getSumRange(): ?Json { - $val = $this->getBackingStore()->get('sumRange'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sumRange'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('criteria', $this->getCriteria()); - $writer->writeObjectValue('range', $this->getRange()); - $writer->writeObjectValue('sumRange', $this->getSumRange()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the criteria property value. The criteria property - * @param Json|null $value Value to set for the criteria property. - */ - public function setCriteria(?Json $value): void { - $this->getBackingStore()->set('criteria', $value); - } - - /** - * Sets the range property value. The range property - * @param Json|null $value Value to set for the range property. - */ - public function setRange(?Json $value): void { - $this->getBackingStore()->set('range', $value); - } - - /** - * Sets the sumRange property value. The sumRange property - * @param Json|null $value Value to set for the sumRange property. - */ - public function setSumRange(?Json $value): void { - $this->getBackingStore()->set('sumRange', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php index 5873f09325a..c61e5ecf039 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumIfs/SumIfsPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\SumIfs; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'sumRange' => fn(ParseNode $n) => $o->setSumRange($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the sumRange property value. The sumRange property - * @return Json|null - */ - public function getSumRange(): ?Json { - $val = $this->getBackingStore()->get('sumRange'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sumRange'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('sumRange', $this->getSumRange()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the sumRange property value. The sumRange property - * @param Json|null $value Value to set for the sumRange property. - */ - public function setSumRange(?Json $value): void { - $this->getBackingStore()->set('sumRange', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php index be5d6e5f956..a032d3dd8c7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/SumSq/SumSqPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\SumSq; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php index 8d0bcf947bb..2eb3dc31d78 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Syd/SydPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Syd; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getCost(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'per' => fn(ParseNode $n) => $o->setPer($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the per property value. The per property - * @return Json|null - */ - public function getPer(): ?Json { - $val = $this->getBackingStore()->get('per'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'per'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('per', $this->getPer()); - $writer->writeObjectValue('salvage', $this->getSalvage()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the per property value. The per property - * @param Json|null $value Value to set for the per property. - */ - public function setPer(?Json $value): void { - $this->getBackingStore()->set('per', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TPostRequestBody.php index 0eb8cc61972..5ae77c43a56 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T/TPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\T; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php index c0c6a4b0ff4..20dc00a4eb3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist/T_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\T_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php index 37ec7331a0d..b9d2e15ded1 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\T_Dist_2T; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php index 484a054a280..cf4c40b2261 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\T_Dist_RT; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php index 291f055943c..7ad7fdaa2cb 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv/T_InvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\T_Inv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php index 586cd30ac75..78607a3850c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\T_Inv_2T; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the degFreedom property value. The degFreedom property - * @return Json|null - */ - public function getDegFreedom(): ?Json { - $val = $this->getBackingStore()->get('degFreedom'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'degFreedom'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDegFreedom(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'degFreedom' => fn(ParseNode $n) => $o->setDegFreedom($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'probability' => fn(ParseNode $n) => $o->setProbability($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the probability property value. The probability property - * @return Json|null - */ - public function getProbability(): ?Json { - $val = $this->getBackingStore()->get('probability'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'probability'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('degFreedom', $this->getDegFreedom()); - $writer->writeObjectValue('probability', $this->getProbability()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the degFreedom property value. The degFreedom property - * @param Json|null $value Value to set for the degFreedom property. - */ - public function setDegFreedom(?Json $value): void { - $this->getBackingStore()->set('degFreedom', $value); - } - - /** - * Sets the probability property value. The probability property - * @param Json|null $value Value to set for the probability property. - */ - public function setProbability(?Json $value): void { - $this->getBackingStore()->set('probability', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php index c8442b83a13..7a6fc44592d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tan/TanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Tan; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php index b14f388ce06..ab82428623c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Tanh/TanhPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Tanh; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php index 58befa817be..710f2fe6b88 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillEq/TbillEqPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\TbillEq; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the discount property value. The discount property - * @return Json|null - */ - public function getDiscount(): ?Json { - $val = $this->getBackingStore()->get('discount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'discount'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDiscount(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'discount' => fn(ParseNode $n) => $o->setDiscount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('discount', $this->getDiscount()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the discount property value. The discount property - * @param Json|null $value Value to set for the discount property. - */ - public function setDiscount(?Json $value): void { - $this->getBackingStore()->set('discount', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php index f794b1e1c58..070c4bbc42b 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillPrice/TbillPricePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\TbillPrice; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the discount property value. The discount property - * @return Json|null - */ - public function getDiscount(): ?Json { - $val = $this->getBackingStore()->get('discount'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'discount'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDiscount(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'discount' => fn(ParseNode $n) => $o->setDiscount($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('discount', $this->getDiscount()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the discount property value. The discount property - * @param Json|null $value Value to set for the discount property. - */ - public function setDiscount(?Json $value): void { - $this->getBackingStore()->set('discount', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php index b6a2e9e9633..07216e4b879 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TbillYield/TbillYieldPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\TbillYield; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php index b8ea2ed9e61..351cc5877c5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Text/TextPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Text; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'formatText' => fn(ParseNode $n) => $o->setFormatText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the formatText property value. The formatText property - * @return Json|null - */ - public function getFormatText(): ?Json { - $val = $this->getBackingStore()->get('formatText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'formatText'"); - } - - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('formatText', $this->getFormatText()); - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the formatText property value. The formatText property - * @param Json|null $value Value to set for the formatText property. - */ - public function setFormatText(?Json $value): void { - $this->getBackingStore()->set('formatText', $value); - } - - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php index 16f4a5ee511..cd80936c0ae 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Time/TimePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Time; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,56 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'hour' => fn(ParseNode $n) => $o->setHour($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'minute' => fn(ParseNode $n) => $o->setMinute($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'second' => fn(ParseNode $n) => $o->setSecond($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the hour property value. The hour property - * @return Json|null - */ - public function getHour(): ?Json { - $val = $this->getBackingStore()->get('hour'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'hour'"); - } - - /** - * Gets the minute property value. The minute property - * @return Json|null - */ - public function getMinute(): ?Json { - $val = $this->getBackingStore()->get('minute'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'minute'"); - } - - /** - * Gets the second property value. The second property - * @return Json|null - */ - public function getSecond(): ?Json { - $val = $this->getBackingStore()->get('second'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'second'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('hour', $this->getHour()); - $writer->writeObjectValue('minute', $this->getMinute()); - $writer->writeObjectValue('second', $this->getSecond()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the hour property value. The hour property - * @param Json|null $value Value to set for the hour property. - */ - public function setHour(?Json $value): void { - $this->getBackingStore()->set('hour', $value); - } - - /** - * Sets the minute property value. The minute property - * @param Json|null $value Value to set for the minute property. - */ - public function setMinute(?Json $value): void { - $this->getBackingStore()->set('minute', $value); - } - - /** - * Sets the second property value. The second property - * @param Json|null $value Value to set for the second property. - */ - public function setSecond(?Json $value): void { - $this->getBackingStore()->set('second', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php index 7ca3714560e..284b90ded9f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Timevalue/TimevaluePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Timevalue; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'timeText' => fn(ParseNode $n) => $o->setTimeText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the timeText property value. The timeText property - * @return Json|null - */ - public function getTimeText(): ?Json { - $val = $this->getBackingStore()->get('timeText'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'timeText'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('timeText', $this->getTimeText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the timeText property value. The timeText property - * @param Json|null $value Value to set for the timeText property. - */ - public function setTimeText(?Json $value): void { - $this->getBackingStore()->set('timeText', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php index b6da4091672..6e0784fcabf 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trim/TrimPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Trim; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php index 4f8960b53cd..f0b7b7fbeaa 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/TrimMean/TrimMeanPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\TrimMean; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,30 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'percent' => fn(ParseNode $n) => $o->setPercent($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the percent property value. The percent property - * @return Json|null - */ - public function getPercent(): ?Json { - $val = $this->getBackingStore()->get('percent'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'percent'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('percent', $this->getPercent()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -110,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -126,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the percent property value. The percent property - * @param Json|null $value Value to set for the percent property. - */ - public function setPercent(?Json $value): void { - $this->getBackingStore()->set('percent', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php index bf492ba65b9..1129a204fe5 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Trunc/TruncPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Trunc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'numDigits' => fn(ParseNode $n) => $o->setNumDigits($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - - /** - * Gets the numDigits property value. The numDigits property - * @return Json|null - */ - public function getNumDigits(): ?Json { - $val = $this->getBackingStore()->get('numDigits'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'numDigits'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); - $writer->writeObjectValue('numDigits', $this->getNumDigits()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - - /** - * Sets the numDigits property value. The numDigits property - * @param Json|null $value Value to set for the numDigits property. - */ - public function setNumDigits(?Json $value): void { - $this->getBackingStore()->set('numDigits', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php index 6c272d7bc93..98e3f7aa887 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Type/TypePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Type; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the value property value. The value property - * @return Json|null - */ - public function getValue(): ?Json { - $val = $this->getBackingStore()->get('value'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('value', $this->getValue()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the value property value. The value property - * @param Json|null $value Value to set for the value property. - */ - public function setValue(?Json $value): void { - $this->getBackingStore()->set('value', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php index 3601e6ddbd5..66b4f3ea67a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unichar/UnicharPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Unichar; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php index b2c8a368da2..8192e33120c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Unicode/UnicodePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Unicode; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php index 78dd3d7fb08..a219e2eae0f 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Upper/UpperPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Upper; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php index d510d87fb63..212324a2b9a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Usdollar/UsdollarPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Usdollar; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the decimals property value. The decimals property - * @return Json|null - */ - public function getDecimals(): ?Json { - $val = $this->getBackingStore()->get('decimals'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'decimals'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getDecimals(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'decimals' => fn(ParseNode $n) => $o->setDecimals($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'number' => fn(ParseNode $n) => $o->setNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the number property value. The number property - * @return Json|null - */ - public function getNumber(): ?Json { - $val = $this->getBackingStore()->get('number'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'number'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('decimals', $this->getDecimals()); - $writer->writeObjectValue('number', $this->getNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the decimals property value. The decimals property - * @param Json|null $value Value to set for the decimals property. - */ - public function setDecimals(?Json $value): void { - $this->getBackingStore()->set('decimals', $value); - } - - /** - * Sets the number property value. The number property - * @param Json|null $value Value to set for the number property. - */ - public function setNumber(?Json $value): void { - $this->getBackingStore()->set('number', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php index 118c25ecb0e..e7d5c2e1940 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Value/ValuePostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Value; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'text' => fn(ParseNode $n) => $o->setText($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the text property value. The text property - * @return Json|null - */ - public function getText(): ?Json { - $val = $this->getBackingStore()->get('text'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('text', $this->getText()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the text property value. The text property - * @param Json|null $value Value to set for the text property. - */ - public function setText(?Json $value): void { - $this->getBackingStore()->set('text', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php index cd355b96e2d..fe52e38e90c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarA/VarAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\VarA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php index ea0e3a842a8..2ccc247d7ea 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/VarPA/VarPAPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\VarPA; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php index c435128c855..5c3d0ced7c2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_P/Var_PPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Var_P; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php index 6655f06cfe0..7b51420ff37 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Var_S/Var_SPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Var_S; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php index 3f9aa7aafd5..dcae8b8b621 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vdb/VdbPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Vdb; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,42 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the cost property value. The cost property - * @return Json|null - */ - public function getCost(): ?Json { - $val = $this->getBackingStore()->get('cost'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cost'"); - } - - /** - * Gets the endPeriod property value. The endPeriod property - * @return Json|null - */ - public function getEndPeriod(): ?Json { - $val = $this->getBackingStore()->get('endPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endPeriod'"); - } - - /** - * Gets the factor property value. The factor property - * @return Json|null - */ - public function getFactor(): ?Json { - $val = $this->getBackingStore()->get('factor'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'factor'"); - } - /** * The deserialization information for the current model * @return array @@ -99,76 +62,14 @@ public function getFactor(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'cost' => fn(ParseNode $n) => $o->setCost($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'endPeriod' => fn(ParseNode $n) => $o->setEndPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'factor' => fn(ParseNode $n) => $o->setFactor($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'life' => fn(ParseNode $n) => $o->setLife($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'noSwitch' => fn(ParseNode $n) => $o->setNoSwitch($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'salvage' => fn(ParseNode $n) => $o->setSalvage($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startPeriod' => fn(ParseNode $n) => $o->setStartPeriod($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the life property value. The life property - * @return Json|null - */ - public function getLife(): ?Json { - $val = $this->getBackingStore()->get('life'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'life'"); - } - - /** - * Gets the noSwitch property value. The noSwitch property - * @return Json|null - */ - public function getNoSwitch(): ?Json { - $val = $this->getBackingStore()->get('noSwitch'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'noSwitch'"); - } - - /** - * Gets the salvage property value. The salvage property - * @return Json|null - */ - public function getSalvage(): ?Json { - $val = $this->getBackingStore()->get('salvage'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'salvage'"); - } - - /** - * Gets the startPeriod property value. The startPeriod property - * @return Json|null - */ - public function getStartPeriod(): ?Json { - $val = $this->getBackingStore()->get('startPeriod'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startPeriod'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('cost', $this->getCost()); - $writer->writeObjectValue('endPeriod', $this->getEndPeriod()); - $writer->writeObjectValue('factor', $this->getFactor()); - $writer->writeObjectValue('life', $this->getLife()); - $writer->writeObjectValue('noSwitch', $this->getNoSwitch()); - $writer->writeObjectValue('salvage', $this->getSalvage()); - $writer->writeObjectValue('startPeriod', $this->getStartPeriod()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -188,60 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the cost property value. The cost property - * @param Json|null $value Value to set for the cost property. - */ - public function setCost(?Json $value): void { - $this->getBackingStore()->set('cost', $value); - } - - /** - * Sets the endPeriod property value. The endPeriod property - * @param Json|null $value Value to set for the endPeriod property. - */ - public function setEndPeriod(?Json $value): void { - $this->getBackingStore()->set('endPeriod', $value); - } - - /** - * Sets the factor property value. The factor property - * @param Json|null $value Value to set for the factor property. - */ - public function setFactor(?Json $value): void { - $this->getBackingStore()->set('factor', $value); - } - - /** - * Sets the life property value. The life property - * @param Json|null $value Value to set for the life property. - */ - public function setLife(?Json $value): void { - $this->getBackingStore()->set('life', $value); - } - - /** - * Sets the noSwitch property value. The noSwitch property - * @param Json|null $value Value to set for the noSwitch property. - */ - public function setNoSwitch(?Json $value): void { - $this->getBackingStore()->set('noSwitch', $value); - } - - /** - * Sets the salvage property value. The salvage property - * @param Json|null $value Value to set for the salvage property. - */ - public function setSalvage(?Json $value): void { - $this->getBackingStore()->set('salvage', $value); - } - - /** - * Sets the startPeriod property value. The startPeriod property - * @param Json|null $value Value to set for the startPeriod property. - */ - public function setStartPeriod(?Json $value): void { - $this->getBackingStore()->set('startPeriod', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php index 56f99383d64..695f3efed78 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Vlookup/VlookupPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Vlookup; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the colIndexNum property value. The colIndexNum property - * @return Json|null - */ - public function getColIndexNum(): ?Json { - $val = $this->getBackingStore()->get('colIndexNum'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'colIndexNum'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getColIndexNum(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'colIndexNum' => fn(ParseNode $n) => $o->setColIndexNum($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'lookupValue' => fn(ParseNode $n) => $o->setLookupValue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rangeLookup' => fn(ParseNode $n) => $o->setRangeLookup($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'tableArray' => fn(ParseNode $n) => $o->setTableArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the lookupValue property value. The lookupValue property - * @return Json|null - */ - public function getLookupValue(): ?Json { - $val = $this->getBackingStore()->get('lookupValue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'lookupValue'"); - } - - /** - * Gets the rangeLookup property value. The rangeLookup property - * @return Json|null - */ - public function getRangeLookup(): ?Json { - $val = $this->getBackingStore()->get('rangeLookup'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rangeLookup'"); - } - - /** - * Gets the tableArray property value. The tableArray property - * @return Json|null - */ - public function getTableArray(): ?Json { - $val = $this->getBackingStore()->get('tableArray'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'tableArray'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('colIndexNum', $this->getColIndexNum()); - $writer->writeObjectValue('lookupValue', $this->getLookupValue()); - $writer->writeObjectValue('rangeLookup', $this->getRangeLookup()); - $writer->writeObjectValue('tableArray', $this->getTableArray()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the colIndexNum property value. The colIndexNum property - * @param Json|null $value Value to set for the colIndexNum property. - */ - public function setColIndexNum(?Json $value): void { - $this->getBackingStore()->set('colIndexNum', $value); - } - - /** - * Sets the lookupValue property value. The lookupValue property - * @param Json|null $value Value to set for the lookupValue property. - */ - public function setLookupValue(?Json $value): void { - $this->getBackingStore()->set('lookupValue', $value); - } - - /** - * Sets the rangeLookup property value. The rangeLookup property - * @param Json|null $value Value to set for the rangeLookup property. - */ - public function setRangeLookup(?Json $value): void { - $this->getBackingStore()->set('rangeLookup', $value); - } - - /** - * Sets the tableArray property value. The tableArray property - * @param Json|null $value Value to set for the tableArray property. - */ - public function setTableArray(?Json $value): void { - $this->getBackingStore()->set('tableArray', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php index f9704ee132f..dfeeb586203 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WeekNum/WeekNumPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\WeekNum; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'returnType' => fn(ParseNode $n) => $o->setReturnType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the returnType property value. The returnType property - * @return Json|null - */ - public function getReturnType(): ?Json { - $val = $this->getBackingStore()->get('returnType'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'returnType'"); - } - - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('returnType', $this->getReturnType()); - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the returnType property value. The returnType property - * @param Json|null $value Value to set for the returnType property. - */ - public function setReturnType(?Json $value): void { - $this->getBackingStore()->set('returnType', $value); - } - - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php index c0def1499a3..779ba2a2cc2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weekday/WeekdayPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Weekday; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,42 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'returnType' => fn(ParseNode $n) => $o->setReturnType($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the returnType property value. The returnType property - * @return Json|null - */ - public function getReturnType(): ?Json { - $val = $this->getBackingStore()->get('returnType'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'returnType'"); - } - - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('returnType', $this->getReturnType()); - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the returnType property value. The returnType property - * @param Json|null $value Value to set for the returnType property. - */ - public function setReturnType(?Json $value): void { - $this->getBackingStore()->set('returnType', $value); - } - - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php index a27ba69ffca..1c98d0b09a3 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Weibull_Dist; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the alpha property value. The alpha property - * @return Json|null - */ - public function getAlpha(): ?Json { - $val = $this->getBackingStore()->get('alpha'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'alpha'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -68,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the beta property value. The beta property - * @return Json|null - */ - public function getBeta(): ?Json { - $val = $this->getBackingStore()->get('beta'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'beta'"); - } - - /** - * Gets the cumulative property value. The cumulative property - * @return Json|null - */ - public function getCumulative(): ?Json { - $val = $this->getBackingStore()->get('cumulative'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'cumulative'"); - } - /** * The deserialization information for the current model * @return array @@ -99,34 +62,14 @@ public function getCumulative(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'alpha' => fn(ParseNode $n) => $o->setAlpha($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'beta' => fn(ParseNode $n) => $o->setBeta($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'cumulative' => fn(ParseNode $n) => $o->setCumulative($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('alpha', $this->getAlpha()); - $writer->writeObjectValue('beta', $this->getBeta()); - $writer->writeObjectValue('cumulative', $this->getCumulative()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -138,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the alpha property value. The alpha property - * @param Json|null $value Value to set for the alpha property. - */ - public function setAlpha(?Json $value): void { - $this->getBackingStore()->set('alpha', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -154,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the beta property value. The beta property - * @param Json|null $value Value to set for the beta property. - */ - public function setBeta(?Json $value): void { - $this->getBackingStore()->set('beta', $value); - } - - /** - * Sets the cumulative property value. The cumulative property - * @param Json|null $value Value to set for the cumulative property. - */ - public function setCumulative(?Json $value): void { - $this->getBackingStore()->set('cumulative', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php index b2ee0d3f5e9..b0d3b1876d2 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay/WorkDayPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\WorkDay; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the days property value. The days property - * @return Json|null - */ - public function getDays(): ?Json { - $val = $this->getBackingStore()->get('days'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'days'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDays(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'days' => fn(ParseNode $n) => $o->setDays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'holidays' => fn(ParseNode $n) => $o->setHolidays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the holidays property value. The holidays property - * @return Json|null - */ - public function getHolidays(): ?Json { - $val = $this->getBackingStore()->get('holidays'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'holidays'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('days', $this->getDays()); - $writer->writeObjectValue('holidays', $this->getHolidays()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the days property value. The days property - * @param Json|null $value Value to set for the days property. - */ - public function setDays(?Json $value): void { - $this->getBackingStore()->set('days', $value); - } - - /** - * Sets the holidays property value. The holidays property - * @param Json|null $value Value to set for the holidays property. - */ - public function setHolidays(?Json $value): void { - $this->getBackingStore()->set('holidays', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php index da523065da9..6877347d443 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\WorkDay_Intl; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the days property value. The days property - * @return Json|null - */ - public function getDays(): ?Json { - $val = $this->getBackingStore()->get('days'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'days'"); - } - /** * The deserialization information for the current model * @return array @@ -75,58 +62,14 @@ public function getDays(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'days' => fn(ParseNode $n) => $o->setDays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'holidays' => fn(ParseNode $n) => $o->setHolidays($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'weekend' => fn(ParseNode $n) => $o->setWeekend($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the holidays property value. The holidays property - * @return Json|null - */ - public function getHolidays(): ?Json { - $val = $this->getBackingStore()->get('holidays'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'holidays'"); - } - - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - - /** - * Gets the weekend property value. The weekend property - * @return Json|null - */ - public function getWeekend(): ?Json { - $val = $this->getBackingStore()->get('weekend'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'weekend'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('days', $this->getDays()); - $writer->writeObjectValue('holidays', $this->getHolidays()); - $writer->writeObjectValue('startDate', $this->getStartDate()); - $writer->writeObjectValue('weekend', $this->getWeekend()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -146,36 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the days property value. The days property - * @param Json|null $value Value to set for the days property. - */ - public function setDays(?Json $value): void { - $this->getBackingStore()->set('days', $value); - } - - /** - * Sets the holidays property value. The holidays property - * @param Json|null $value Value to set for the holidays property. - */ - public function setHolidays(?Json $value): void { - $this->getBackingStore()->set('holidays', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - - /** - * Sets the weekend property value. The weekend property - * @param Json|null $value Value to set for the weekend property. - */ - public function setWeekend(?Json $value): void { - $this->getBackingStore()->set('weekend', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php index 3c63d23a64f..47947edd5bd 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xirr/XirrPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Xirr; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the dates property value. The dates property - * @return Json|null - */ - public function getDates(): ?Json { - $val = $this->getBackingStore()->get('dates'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'dates'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDates(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'dates' => fn(ParseNode $n) => $o->setDates($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'guess' => fn(ParseNode $n) => $o->setGuess($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the guess property value. The guess property - * @return Json|null - */ - public function getGuess(): ?Json { - $val = $this->getBackingStore()->get('guess'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'guess'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('dates', $this->getDates()); - $writer->writeObjectValue('guess', $this->getGuess()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the dates property value. The dates property - * @param Json|null $value Value to set for the dates property. - */ - public function setDates(?Json $value): void { - $this->getBackingStore()->set('dates', $value); - } - - /** - * Sets the guess property value. The guess property - * @param Json|null $value Value to set for the guess property. - */ - public function setGuess(?Json $value): void { - $this->getBackingStore()->set('guess', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php index 0946ad838c2..627164079ee 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Xnpv/XnpvPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Xnpv; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the dates property value. The dates property - * @return Json|null - */ - public function getDates(): ?Json { - $val = $this->getBackingStore()->get('dates'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'dates'"); - } - /** * The deserialization information for the current model * @return array @@ -75,44 +62,14 @@ public function getDates(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'dates' => fn(ParseNode $n) => $o->setDates($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('dates', $this->getDates()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the dates property value. The dates property - * @param Json|null $value Value to set for the dates property. - */ - public function setDates(?Json $value): void { - $this->getBackingStore()->set('dates', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php index 2723b930674..a44895d59d7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Year/YearPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Year; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'serialNumber' => fn(ParseNode $n) => $o->setSerialNumber($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the serialNumber property value. The serialNumber property - * @return Json|null - */ - public function getSerialNumber(): ?Json { - $val = $this->getBackingStore()->get('serialNumber'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'serialNumber'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('serialNumber', $this->getSerialNumber()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the serialNumber property value. The serialNumber property - * @param Json|null $value Value to set for the serialNumber property. - */ - public function setSerialNumber(?Json $value): void { - $this->getBackingStore()->set('serialNumber', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php index af2901f4614..3f49cde38e9 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YearFrac/YearFracPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\YearFrac; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,30 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - - /** - * Gets the endDate property value. The endDate property - * @return Json|null - */ - public function getEndDate(): ?Json { - $val = $this->getBackingStore()->get('endDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endDate'"); - } - /** * The deserialization information for the current model * @return array @@ -87,32 +62,14 @@ public function getEndDate(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'endDate' => fn(ParseNode $n) => $o->setEndDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startDate' => fn(ParseNode $n) => $o->setStartDate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startDate property value. The startDate property - * @return Json|null - */ - public function getStartDate(): ?Json { - $val = $this->getBackingStore()->get('startDate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startDate'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('endDate', $this->getEndDate()); - $writer->writeObjectValue('startDate', $this->getStartDate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -132,28 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the endDate property value. The endDate property - * @param Json|null $value Value to set for the endDate property. - */ - public function setEndDate(?Json $value): void { - $this->getBackingStore()->set('endDate', $value); - } - - /** - * Sets the startDate property value. The startDate property - * @param Json|null $value Value to set for the startDate property. - */ - public function setStartDate(?Json $value): void { - $this->getBackingStore()->set('startDate', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php index 14b2e17440d..e7d8ea6abe4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldDisc/YieldDiscPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\YieldDisc; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,72 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'redemption' => fn(ParseNode $n) => $o->setRedemption($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the redemption property value. The redemption property - * @return Json|null - */ - public function getRedemption(): ?Json { - $val = $this->getBackingStore()->get('redemption'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'redemption'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('redemption', $this->getRedemption()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -160,44 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the redemption property value. The redemption property - * @param Json|null $value Value to set for the redemption property. - */ - public function setRedemption(?Json $value): void { - $this->getBackingStore()->set('redemption', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php index 3163d6ec620..5246d7367d7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/YieldMat/YieldMatPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\YieldMat; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the basis property value. The basis property - * @return Json|null - */ - public function getBasis(): ?Json { - $val = $this->getBackingStore()->get('basis'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'basis'"); - } - /** * The deserialization information for the current model * @return array @@ -75,86 +62,14 @@ public function getBasis(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'basis' => fn(ParseNode $n) => $o->setBasis($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'issue' => fn(ParseNode $n) => $o->setIssue($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'maturity' => fn(ParseNode $n) => $o->setMaturity($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'pr' => fn(ParseNode $n) => $o->setPr($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'rate' => fn(ParseNode $n) => $o->setRate($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'settlement' => fn(ParseNode $n) => $o->setSettlement($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the issue property value. The issue property - * @return Json|null - */ - public function getIssue(): ?Json { - $val = $this->getBackingStore()->get('issue'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'issue'"); - } - - /** - * Gets the maturity property value. The maturity property - * @return Json|null - */ - public function getMaturity(): ?Json { - $val = $this->getBackingStore()->get('maturity'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'maturity'"); - } - - /** - * Gets the pr property value. The pr property - * @return Json|null - */ - public function getPr(): ?Json { - $val = $this->getBackingStore()->get('pr'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'pr'"); - } - - /** - * Gets the rate property value. The rate property - * @return Json|null - */ - public function getRate(): ?Json { - $val = $this->getBackingStore()->get('rate'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'rate'"); - } - - /** - * Gets the settlement property value. The settlement property - * @return Json|null - */ - public function getSettlement(): ?Json { - $val = $this->getBackingStore()->get('settlement'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'settlement'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('basis', $this->getBasis()); - $writer->writeObjectValue('issue', $this->getIssue()); - $writer->writeObjectValue('maturity', $this->getMaturity()); - $writer->writeObjectValue('pr', $this->getPr()); - $writer->writeObjectValue('rate', $this->getRate()); - $writer->writeObjectValue('settlement', $this->getSettlement()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -174,52 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the basis property value. The basis property - * @param Json|null $value Value to set for the basis property. - */ - public function setBasis(?Json $value): void { - $this->getBackingStore()->set('basis', $value); - } - - /** - * Sets the issue property value. The issue property - * @param Json|null $value Value to set for the issue property. - */ - public function setIssue(?Json $value): void { - $this->getBackingStore()->set('issue', $value); - } - - /** - * Sets the maturity property value. The maturity property - * @param Json|null $value Value to set for the maturity property. - */ - public function setMaturity(?Json $value): void { - $this->getBackingStore()->set('maturity', $value); - } - - /** - * Sets the pr property value. The pr property - * @param Json|null $value Value to set for the pr property. - */ - public function setPr(?Json $value): void { - $this->getBackingStore()->set('pr', $value); - } - - /** - * Sets the rate property value. The rate property - * @param Json|null $value Value to set for the rate property. - */ - public function setRate(?Json $value): void { - $this->getBackingStore()->set('rate', $value); - } - - /** - * Sets the settlement property value. The settlement property - * @param Json|null $value Value to set for the settlement property. - */ - public function setSettlement(?Json $value): void { - $this->getBackingStore()->set('settlement', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php index 169c0f7965c..958eeef03b0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Functions/Z_Test/Z_TestPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Functions\Z_Test; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -48,18 +47,6 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } - /** - * Gets the array property value. The array property - * @return Json|null - */ - public function getArray(): ?Json { - $val = $this->getBackingStore()->get('array'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'array'"); - } - /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -75,44 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'array' => fn(ParseNode $n) => $o->setArray($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'sigma' => fn(ParseNode $n) => $o->setSigma($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'x' => fn(ParseNode $n) => $o->setX($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the sigma property value. The sigma property - * @return Json|null - */ - public function getSigma(): ?Json { - $val = $this->getBackingStore()->get('sigma'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sigma'"); - } - - /** - * Gets the x property value. The x property - * @return Json|null - */ - public function getX(): ?Json { - $val = $this->getBackingStore()->get('x'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'x'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('array', $this->getArray()); - $writer->writeObjectValue('sigma', $this->getSigma()); - $writer->writeObjectValue('x', $this->getX()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -124,14 +81,6 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } - /** - * Sets the array property value. The array property - * @param Json|null $value Value to set for the array property. - */ - public function setArray(?Json $value): void { - $this->getBackingStore()->set('array', $value); - } - /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. @@ -140,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the sigma property value. The sigma property - * @param Json|null $value Value to set for the sigma property. - */ - public function setSigma(?Json $value): void { - $this->getBackingStore()->set('sigma', $value); - } - - /** - * Sets the x property value. The x property - * @param Json|null $value Value to set for the x property. - */ - public function setX(?Json $value): void { - $this->getBackingStore()->set('x', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddPostRequestBody.php index 97a46a479bf..46a52bb29b4 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Names/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Names\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -77,7 +76,6 @@ public function getFieldDeserializers(): array { return [ 'comment' => fn(ParseNode $n) => $o->setComment($n->getStringValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -93,18 +91,6 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -112,7 +98,6 @@ public function getReference(): ?Json { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('comment', $this->getComment()); $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -148,12 +133,4 @@ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilder.php index 13216c0d572..13d22515e07 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilder.php @@ -35,7 +35,7 @@ public function byWorkbookOperationId(string $workbookOperationId): WorkbookOper * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/operations{?%24expand,%24orderby,%24search,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/drive/items/{driveItem%2Did}/workbook/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php index ba6c6941554..af4b879d3ca 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetQueryParameters.php @@ -9,12 +9,24 @@ */ class OperationsRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24count") + * @var bool|null $count Include count of items + */ + public ?bool $count = null; + /** * @QueryParameter("%24expand") * @var array|null $expand Expand related entities */ public ?array $expand = null; + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + /** * @QueryParameter("%24orderby") * @var array|null $orderby Order items by property values @@ -33,18 +45,38 @@ class OperationsRequestBuilderGetQueryParameters */ public ?array $select = null; + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + /** * Instantiates a new OperationsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items */ - public function __construct(?array $expand = null, ?array $orderby = null, ?string $search = null, ?array $select = null) { + 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) { + $this->count = $count; $this->expand = $expand; + $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; $this->select = $select; + $this->skip = $skip; + $this->top = $top; } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php index f5820ca188b..e60de9efc71 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Operations/OperationsRequestBuilderGetRequestConfiguration.php @@ -28,14 +28,18 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ope /** * Instantiates a new OperationsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items * @return OperationsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $orderby = null, ?string $search = null, ?array $select = null): OperationsRequestBuilderGetQueryParameters { - return new OperationsRequestBuilderGetQueryParameters($expand, $orderby, $search, $select); + 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): OperationsRequestBuilderGetQueryParameters { + return new OperationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php index bb409aeb847..af72c6d4f78 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Tables\Item\Columns\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -65,7 +64,6 @@ public function getFieldDeserializers(): array { return [ 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -93,18 +91,6 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -112,7 +98,6 @@ public function getValues(): ?Json { public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('index', $this->getIndex()); $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -148,12 +133,4 @@ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php index a2831b543a2..685b4dd9ea0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Tables\Item\Columns\Item\Filter\ApplyValuesFilter; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php index 3744d20440f..3d380523df8 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Tables/Item/Rows/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Tables\Item\Rows\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getIndex(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('index', $this->getIndex()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setIndex(?int $value): void { $this->getBackingStore()->set('index', $value); } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php index e5a6e37f38f..9d3e8fb363a 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Charts\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - 'sourceData' => fn(ParseNode $n) => $o->setSourceData($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), ]; } @@ -81,18 +79,6 @@ public function getSeriesBy(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); } - /** - * Gets the sourceData property value. The sourceData property - * @return Json|null - */ - public function getSourceData(): ?Json { - $val = $this->getBackingStore()->get('sourceData'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceData'"); - } - /** * Gets the type property value. The type property * @return string|null @@ -111,7 +97,6 @@ public function getType(): ?string { */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $writer->writeObjectValue('sourceData', $this->getSourceData()); $writer->writeStringValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -140,14 +125,6 @@ public function setSeriesBy(?string $value): void { $this->getBackingStore()->set('seriesBy', $value); } - /** - * Sets the sourceData property value. The sourceData property - * @param Json|null $value Value to set for the sourceData property. - */ - public function setSourceData(?Json $value): void { - $this->getBackingStore()->set('sourceData', $value); - } - /** * Sets the type property value. The type property * @param string|null $value Value to set for the type property. diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php index 95046ac3915..ffe4c7b77c0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Charts\Item\SetData; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - 'sourceData' => fn(ParseNode $n) => $o->setSourceData($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getSeriesBy(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); } - /** - * Gets the sourceData property value. The sourceData property - * @return Json|null - */ - public function getSourceData(): ?Json { - $val = $this->getBackingStore()->get('sourceData'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceData'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $writer->writeObjectValue('sourceData', $this->getSourceData()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setSeriesBy(?string $value): void { $this->getBackingStore()->set('seriesBy', $value); } - /** - * Sets the sourceData property value. The sourceData property - * @param Json|null $value Value to set for the sourceData property. - */ - public function setSourceData(?Json $value): void { - $this->getBackingStore()->set('sourceData', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php index a4cac11dd7d..8c68c1eaf7d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Charts\Item\SetPosition; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endCell property value. The endCell property - * @return Json|null - */ - public function getEndCell(): ?Json { - $val = $this->getBackingStore()->get('endCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endCell'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEndCell(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endCell' => fn(ParseNode $n) => $o->setEndCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startCell' => fn(ParseNode $n) => $o->setStartCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startCell property value. The startCell property - * @return Json|null - */ - public function getStartCell(): ?Json { - $val = $this->getBackingStore()->get('startCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startCell'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endCell', $this->getEndCell()); - $writer->writeObjectValue('startCell', $this->getStartCell()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endCell property value. The endCell property - * @param Json|null $value Value to set for the endCell property. - */ - public function setEndCell(?Json $value): void { - $this->getBackingStore()->set('endCell', $value); - } - - /** - * Sets the startCell property value. The startCell property - * @param Json|null $value Value to set for the startCell property. - */ - public function setStartCell(?Json $value): void { - $this->getBackingStore()->set('startCell', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php index 8a8bb312d17..9792652c249 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetData/SetDataPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Charts\ItemAtWithIndex\SetData; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - 'sourceData' => fn(ParseNode $n) => $o->setSourceData($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getSeriesBy(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); } - /** - * Gets the sourceData property value. The sourceData property - * @return Json|null - */ - public function getSourceData(): ?Json { - $val = $this->getBackingStore()->get('sourceData'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceData'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $writer->writeObjectValue('sourceData', $this->getSourceData()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setSeriesBy(?string $value): void { $this->getBackingStore()->set('seriesBy', $value); } - /** - * Sets the sourceData property value. The sourceData property - * @param Json|null $value Value to set for the sourceData property. - */ - public function setSourceData(?Json $value): void { - $this->getBackingStore()->set('sourceData', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php index 9d804a29e48..67a7016f509 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/SetPosition/SetPositionPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Charts\ItemAtWithIndex\SetPosition; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endCell property value. The endCell property - * @return Json|null - */ - public function getEndCell(): ?Json { - $val = $this->getBackingStore()->get('endCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endCell'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEndCell(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endCell' => fn(ParseNode $n) => $o->setEndCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startCell' => fn(ParseNode $n) => $o->setStartCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startCell property value. The startCell property - * @return Json|null - */ - public function getStartCell(): ?Json { - $val = $this->getBackingStore()->get('startCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startCell'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endCell', $this->getEndCell()); - $writer->writeObjectValue('startCell', $this->getStartCell()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endCell property value. The endCell property - * @param Json|null $value Value to set for the endCell property. - */ - public function setEndCell(?Json $value): void { - $this->getBackingStore()->set('endCell', $value); - } - - /** - * Sets the startCell property value. The startCell property - * @param Json|null $value Value to set for the startCell property. - */ - public function setStartCell(?Json $value): void { - $this->getBackingStore()->set('startCell', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php index 9e17da6ac65..49e4e928218 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetData/SetDataPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Charts\ItemWithName\SetData; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'seriesBy' => fn(ParseNode $n) => $o->setSeriesBy($n->getStringValue()), - 'sourceData' => fn(ParseNode $n) => $o->setSourceData($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getSeriesBy(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'seriesBy'"); } - /** - * Gets the sourceData property value. The sourceData property - * @return Json|null - */ - public function getSourceData(): ?Json { - $val = $this->getBackingStore()->get('sourceData'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceData'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('seriesBy', $this->getSeriesBy()); - $writer->writeObjectValue('sourceData', $this->getSourceData()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setSeriesBy(?string $value): void { $this->getBackingStore()->set('seriesBy', $value); } - /** - * Sets the sourceData property value. The sourceData property - * @param Json|null $value Value to set for the sourceData property. - */ - public function setSourceData(?Json $value): void { - $this->getBackingStore()->set('sourceData', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php index d8d6c40b65b..20c061c735e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/SetPosition/SetPositionPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Charts\ItemWithName\SetPosition; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -56,18 +55,6 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } - /** - * Gets the endCell property value. The endCell property - * @return Json|null - */ - public function getEndCell(): ?Json { - $val = $this->getBackingStore()->get('endCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'endCell'"); - } - /** * The deserialization information for the current model * @return array @@ -75,30 +62,14 @@ public function getEndCell(): ?Json { public function getFieldDeserializers(): array { $o = $this; return [ - 'endCell' => fn(ParseNode $n) => $o->setEndCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), - 'startCell' => fn(ParseNode $n) => $o->setStartCell($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the startCell property value. The startCell property - * @return Json|null - */ - public function getStartCell(): ?Json { - $val = $this->getBackingStore()->get('startCell'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'startCell'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('endCell', $this->getEndCell()); - $writer->writeObjectValue('startCell', $this->getStartCell()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -118,20 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the endCell property value. The endCell property - * @param Json|null $value Value to set for the endCell property. - */ - public function setEndCell(?Json $value): void { - $this->getBackingStore()->set('endCell', $value); - } - - /** - * Sets the startCell property value. The startCell property - * @param Json|null $value Value to set for the startCell property. - */ - public function setStartCell(?Json $value): void { - $this->getBackingStore()->set('startCell', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php index 9e8b80e2a1c..a28f02432a7 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Names/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Names\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -77,7 +76,6 @@ public function getFieldDeserializers(): array { return [ 'comment' => fn(ParseNode $n) => $o->setComment($n->getStringValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'reference' => fn(ParseNode $n) => $o->setReference($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -93,18 +91,6 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } - /** - * Gets the reference property value. The reference property - * @return Json|null - */ - public function getReference(): ?Json { - $val = $this->getBackingStore()->get('reference'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reference'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -112,7 +98,6 @@ public function getReference(): ?Json { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('comment', $this->getComment()); $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('reference', $this->getReference()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -148,12 +133,4 @@ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } - /** - * Sets the reference property value. The reference property - * @param Json|null $value Value to set for the reference property. - */ - public function setReference(?Json $value): void { - $this->getBackingStore()->set('reference', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php index 50f3da22123..1a93cd01fa0 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Tables\Item\Columns\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -65,7 +64,6 @@ public function getFieldDeserializers(): array { return [ 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -93,18 +91,6 @@ public function getName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -112,7 +98,6 @@ public function getValues(): ?Json { public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('index', $this->getIndex()); $writer->writeStringValue('name', $this->getName()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -148,12 +133,4 @@ public function setName(?string $value): void { $this->getBackingStore()->set('name', $value); } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php index f0b56c2a210..839d4f4414d 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Tables\Item\Columns\Item\Filter\ApplyValuesFilter; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -63,28 +62,14 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -104,12 +89,4 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php index d87c8daccb6..cdc5097333e 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/Drive/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddPostRequestBody.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Storage\FileStorage\Containers\Item\Drive\Items\Item\Workbook\Worksheets\Item\Tables\Item\Rows\Add; -use Microsoft\Graph\Generated\Models\Json; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -64,7 +63,6 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'index' => fn(ParseNode $n) => $o->setIndex($n->getIntegerValue()), - 'values' => fn(ParseNode $n) => $o->setValues($n->getObjectValue([Json::class, 'createFromDiscriminatorValue'])), ]; } @@ -80,25 +78,12 @@ public function getIndex(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'index'"); } - /** - * Gets the values property value. The values property - * @return Json|null - */ - public function getValues(): ?Json { - $val = $this->getBackingStore()->get('values'); - if (is_null($val) || $val instanceof Json) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('index', $this->getIndex()); - $writer->writeObjectValue('values', $this->getValues()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -126,12 +111,4 @@ public function setIndex(?int $value): void { $this->getBackingStore()->set('index', $value); } - /** - * Sets the values property value. The values property - * @param Json|null $value Value to set for the values property. - */ - public function setValues(?Json $value): void { - $this->getBackingStore()->set('values', $value); - } - } diff --git a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php index df83f089be4..0d9a63fce5e 100644 --- a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php +++ b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.php @@ -35,7 +35,7 @@ public function bySubscribedSkuId(string $subscribedSkuId): SubscribedSkuItemReq * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/subscribedSkus{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/subscribedSkus{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetQueryParameters.php b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetQueryParameters.php index 7cc122c48ad..2ab8c869858 100644 --- a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetQueryParameters.php +++ b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class SubscribedSkusRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class SubscribedSkusRequestBuilderGetQueryParameters /** * Instantiates a new SubscribedSkusRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class SubscribedSkusRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetRequestConfiguration.php b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetRequestConfiguration.php index 6b72d50510b..139a9b8c01f 100644 --- a/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/SubscribedSkus/SubscribedSkusRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sub /** * Instantiates a new SubscribedSkusRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sub * @param int|null $top Show only the first n items * @return SubscribedSkusRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SubscribedSkusRequestBuilderGetQueryParameters { - return new SubscribedSkusRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): SubscribedSkusRequestBuilderGetQueryParameters { + return new SubscribedSkusRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php b/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php index 129e68faf90..a30843aa84a 100644 --- a/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php +++ b/src/Generated/Subscriptions/SubscriptionsRequestBuilder.php @@ -35,7 +35,7 @@ public function bySubscriptionId(string $subscriptionId): SubscriptionItemReques * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/subscriptions{?%24count,%24filter,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/subscriptions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php b/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php index f5297e8d571..82632b76f14 100644 --- a/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetQueryParameters.php @@ -15,12 +15,24 @@ class SubscriptionsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values */ public ?string $filter = null; + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + /** * @QueryParameter("%24search") * @var string|null $search Search items by search phrases @@ -48,15 +60,19 @@ class SubscriptionsRequestBuilderGetQueryParameters /** * Instantiates a new SubscriptionsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; + $this->orderby = $orderby; $this->search = $search; $this->select = $select; $this->skip = $skip; diff --git a/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php index bcd81089d0e..58c5f37bd9d 100644 --- a/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Subscriptions/SubscriptionsRequestBuilderGetRequestConfiguration.php @@ -29,15 +29,17 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sub /** * Instantiates a new SubscriptionsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return SubscriptionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SubscriptionsRequestBuilderGetQueryParameters { - return new SubscriptionsRequestBuilderGetQueryParameters($count, $filter, $search, $select, $skip, $top); + 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): SubscriptionsRequestBuilderGetQueryParameters { + return new SubscriptionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 437b474e198..d4737b4d6cd 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a team or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -77,7 +77,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a team or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php index 0af6619d888..297b09d7a9b 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 Find more info here */ public function get(?HostedContentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 8b7c356a96d..d08b46e0aa2 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 0bcae0d0cad..eb78f24a5e0 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The unique identifier for an entity. Read-only. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -96,7 +97,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The unique identifier for an entity. Read-only. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php index 5ed6c919921..5fbeb57bf13 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.php @@ -85,10 +85,11 @@ public function delete(?ChatMessageItemRequestBuilderDeleteRequestConfiguration } /** - * Replies for a specified message. Supports $expand for channel messages. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 Find more info here */ public function get(?ChatMessageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -132,7 +133,7 @@ public function toDeleteRequestInformation(?ChatMessageItemRequestBuilderDeleteR } /** - * Replies for a specified message. Supports $expand for channel messages. + * Retrieve a single message or a message reply in a channel or a chat. * @param ChatMessageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php index 98e3d36042f..1eeee0d416f 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Replies for a specified message. Supports $expand for channel messages. + * Retrieve a single message or a message reply in a channel or a chat. */ class ChatMessageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php index 920f9f10580..b4b2fcebff7 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.php @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 Find more info here */ public function get(?HostedContentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -81,7 +82,7 @@ public function post(ChatMessageHostedContent $body, ?HostedContentsRequestBuild } /** - * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param HostedContentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php index 7821cf3c663..3049dcdf678 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. */ class HostedContentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php index 3498748bdc3..c31b7ac5a40 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The unique identifier for an entity. Read-only. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -96,7 +97,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The unique identifier for an entity. Read-only. + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index f837daceaac..ba88609dded 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -60,10 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Replies for a specified message. Supports $expand for channel messages. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 Find more info here */ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -74,11 +75,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create new navigation property to replies for teams + * Send a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -89,7 +91,7 @@ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfigu } /** - * Replies for a specified message. Supports $expand for channel messages. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. * @param RepliesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -110,7 +112,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Create new navigation property to replies for teams + * Send a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php index 1438fc1deec..53fed2ad23b 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Replies for a specified message. Supports $expand for channel messages. + * List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. */ class RepliesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php index 32489f79ed3..b7dbf12bfcf 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.php @@ -51,10 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * A collection of team members who have access to the shared channel. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 Find more info here */ public function get(?AllowedMembersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -65,7 +66,7 @@ public function get(?AllowedMembersRequestBuilderGetRequestConfiguration $reques } /** - * A collection of team members who have access to the shared channel. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant * @param AllowedMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php index 6f94c15dbf3..b619663c533 100644 --- a/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * A collection of team members who have access to the shared channel. + * Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant */ class AllowedMembersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.php b/src/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.php index 41ffd7f1c4f..3992a86805d 100644 --- a/src/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.php +++ b/src/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The profile photo for the team. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,11 +62,12 @@ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfig } /** - * The profile photo for the team. + * Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation. * @param StreamInterface $body Binary request body * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/profilephoto-update?view=graph-rest-1.0 Find more info here */ public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -96,7 +98,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The profile photo for the team. + * Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +116,7 @@ public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfigur } /** - * The profile photo for the team. + * Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation. * @param StreamInterface $body Binary request body * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php index d6c037f14c9..3662215f84a 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php @@ -22,7 +22,7 @@ class SchedulingGroupItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php index d508ad7599f..e76d82089f0 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class SchedulingGroupItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class SchedulingGroupItemRequestBuilderGetQueryParameters /** * Instantiates a new SchedulingGroupItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php index 2ba7824e9d2..c4f8469839e 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sch /** * Instantiates a new SchedulingGroupItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return SchedulingGroupItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): SchedulingGroupItemRequestBuilderGetQueryParameters { - return new SchedulingGroupItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): SchedulingGroupItemRequestBuilderGetQueryParameters { + return new SchedulingGroupItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php index 82e23f5b80d..f98d6bd5637 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php @@ -43,7 +43,7 @@ public function bySchedulingGroupId(string $schedulingGroupId): SchedulingGroupI * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/schedulingGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/schedulingGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php index 0b25930c604..2f83f48b6a7 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class SchedulingGroupsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class SchedulingGroupsRequestBuilderGetQueryParameters /** * Instantiates a new SchedulingGroupsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class SchedulingGroupsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php index 05ae95f5b7c..3827da3b314 100644 --- a/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sch /** * Instantiates a new SchedulingGroupsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sch * @param int|null $top Show only the first n items * @return SchedulingGroupsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SchedulingGroupsRequestBuilderGetQueryParameters { - return new SchedulingGroupsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): SchedulingGroupsRequestBuilderGetQueryParameters { + return new SchedulingGroupsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php index d1ab4dd5c4c..0d0e253787a 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php @@ -22,7 +22,7 @@ class ShiftItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/shifts/{shift%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/shifts/{shift%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php index fb18867f33a..473247e4dfc 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class ShiftItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class ShiftItemRequestBuilderGetQueryParameters /** * Instantiates a new ShiftItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php index 688c206f45d..995c5d72ee6 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Shi /** * Instantiates a new ShiftItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return ShiftItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): ShiftItemRequestBuilderGetQueryParameters { - return new ShiftItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): ShiftItemRequestBuilderGetQueryParameters { + return new ShiftItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php index 9fade60ad7b..d09aa8df2fb 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.php @@ -43,7 +43,7 @@ public function byShiftId(string $shiftId): ShiftItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/shifts{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/shifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php index 91e970e8751..51c1d963b71 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class ShiftsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class ShiftsRequestBuilderGetQueryParameters /** * Instantiates a new ShiftsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class ShiftsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php index 34b3027f180..a40fe3dbc36 100644 --- a/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Shi /** * Instantiates a new ShiftsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Shi * @param int|null $top Show only the first n items * @return ShiftsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ShiftsRequestBuilderGetQueryParameters { - return new ShiftsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): ShiftsRequestBuilderGetQueryParameters { + return new ShiftsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php index 9d393e3e54b..35d0311f37c 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php @@ -22,7 +22,7 @@ class TimeOffReasonItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeOffReasons/{timeOffReason%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeOffReasons/{timeOffReason%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php index 91f7bb6edae..f4240805b65 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class TimeOffReasonItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class TimeOffReasonItemRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffReasonItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php index 4f88b03ad45..d18718e942f 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffReasonItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return TimeOffReasonItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): TimeOffReasonItemRequestBuilderGetQueryParameters { - return new TimeOffReasonItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeOffReasonItemRequestBuilderGetQueryParameters { + return new TimeOffReasonItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php index 8053c89799a..aac3c6acd42 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php @@ -43,7 +43,7 @@ public function byTimeOffReasonId(string $timeOffReasonId): TimeOffReasonItemReq * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeOffReasons{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeOffReasons{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php index 4eca4102dd9..42a42794462 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class TimeOffReasonsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class TimeOffReasonsRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffReasonsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class TimeOffReasonsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php index e9ade0407b7..a31bc6a1479 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffReasonsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim * @param int|null $top Show only the first n items * @return TimeOffReasonsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimeOffReasonsRequestBuilderGetQueryParameters { - return new TimeOffReasonsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): TimeOffReasonsRequestBuilderGetQueryParameters { + return new TimeOffReasonsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php index 43a5a71118a..ca6744b1a9f 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php @@ -22,7 +22,7 @@ class TimeOffRequestItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php index 55b3713bdbf..e0cbdd234e7 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class TimeOffRequestItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class TimeOffRequestItemRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffRequestItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php index e5b5bb78f2d..f1d84c04d5e 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffRequestItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return TimeOffRequestItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): TimeOffRequestItemRequestBuilderGetQueryParameters { - return new TimeOffRequestItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeOffRequestItemRequestBuilderGetQueryParameters { + return new TimeOffRequestItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index d97d73e2cb9..6514e9de1d6 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -43,7 +43,7 @@ public function byTimeOffRequestId(string $timeOffRequestId): TimeOffRequestItem * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeOffRequests{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeOffRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php index 59702b8eb8e..056c3456660 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class TimeOffRequestsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class TimeOffRequestsRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffRequestsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class TimeOffRequestsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php index 9ab3af44e6b..4a9bb3ebf77 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffRequestsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim * @param int|null $top Show only the first n items * @return TimeOffRequestsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimeOffRequestsRequestBuilderGetQueryParameters { - return new TimeOffRequestsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): TimeOffRequestsRequestBuilderGetQueryParameters { + return new TimeOffRequestsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php index 10d1f270345..bd476057e82 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php @@ -22,7 +22,7 @@ class TimeOffItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timesOff/{timeOff%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timesOff/{timeOff%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php index a5ed0d7b8e8..ea00f4286e3 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class TimeOffItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class TimeOffItemRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php index cbadbecdbab..fa8b7356e55 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return TimeOffItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): TimeOffItemRequestBuilderGetQueryParameters { - return new TimeOffItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeOffItemRequestBuilderGetQueryParameters { + return new TimeOffItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php index 1cbbf16c113..4d5634edcbe 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php @@ -43,7 +43,7 @@ public function byTimeOffId(string $timeOffId): TimeOffItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timesOff{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timesOff{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php index 0ae36ff7f71..6511a4fcb37 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class TimesOffRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class TimesOffRequestBuilderGetQueryParameters /** * Instantiates a new TimesOffRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class TimesOffRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php index 76f9a36b246..ebceb8a96bf 100644 --- a/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimesOffRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim * @param int|null $top Show only the first n items * @return TimesOffRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimesOffRequestBuilderGetQueryParameters { - return new TimesOffRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): TimesOffRequestBuilderGetQueryParameters { + return new TimesOffRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php index c4560eb050e..ea912f9dee8 100644 --- a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php +++ b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php @@ -64,13 +64,13 @@ public function get(?MultiTenantOrganizationRequestBuilderGetRequestConfiguratio /** * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. * @param MultiTenantOrganization $body The request body - * @param MultiTenantOrganizationRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception * @link https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 Find more info here */ - public function put(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + public function patch(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; @@ -101,14 +101,14 @@ public function toGetRequestInformation(?MultiTenantOrganizationRequestBuilderGe /** * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. * @param MultiTenantOrganization $body The request body - * @param MultiTenantOrganizationRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPutRequestInformation(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PUT; + $requestInfo->httpMethod = HttpMethod::PATCH; if ($requestConfiguration !== null) { $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); diff --git a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilderPutRequestConfiguration.php b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilderPatchRequestConfiguration.php similarity index 81% rename from src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilderPutRequestConfiguration.php rename to src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilderPatchRequestConfiguration.php index 5aa54f0fa25..8a58dc8cf0a 100644 --- a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilderPutRequestConfiguration.php +++ b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilderPatchRequestConfiguration.php @@ -8,10 +8,10 @@ /** * Configuration for the request such as headers, query parameters, and middleware options. */ -class MultiTenantOrganizationRequestBuilderPutRequestConfiguration extends BaseRequestConfiguration +class MultiTenantOrganizationRequestBuilderPatchRequestConfiguration extends BaseRequestConfiguration { /** - * Instantiates a new MultiTenantOrganizationRequestBuilderPutRequestConfiguration and sets the default values. + * Instantiates a new MultiTenantOrganizationRequestBuilderPatchRequestConfiguration and sets the default values. * @param array|string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php index 4736483483b..141322d7003 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byCalendarPermissionId(string $calendarPermissionId): CalendarPe * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarPermissions{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php index 1f80a034560..76f9733f6af 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class CalendarPermissionsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class CalendarPermissionsRequestBuilderGetQueryParameters /** * Instantiates a new CalendarPermissionsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class CalendarPermissionsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php index d2496f1d50b..812d3020291 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarPermissionsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * @param int|null $top Show only the first n items * @return CalendarPermissionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): CalendarPermissionsRequestBuilderGetQueryParameters { - return new CalendarPermissionsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): CalendarPermissionsRequestBuilderGetQueryParameters { + return new CalendarPermissionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index a96ef1a03f0..86ea4d27f02 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarPermissions/{calendarPermission%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php index 7b4185fa658..deee66ac5fb 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarPermissionItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarPermissionItemRequestBuilderGetQueryParameters /** * Instantiates a new CalendarPermissionItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php index b3313213255..4f92287e4d9 100644 --- a/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarPermissionItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarPermissionItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarPermissionItemRequestBuilderGetQueryParameters { - return new CalendarPermissionItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarPermissionItemRequestBuilderGetQueryParameters { + return new CalendarPermissionItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php index a0fd6523350..31186816541 100644 --- a/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarRequestBuilder.php @@ -64,7 +64,7 @@ public function allowedCalendarSharingRolesWithUser(string $user): AllowedCalend * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 06414678ec8..5714350c9b1 100644 --- a/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index ab88676c57a..2a3dd7e2a59 100644 --- a/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php index a92b4ea828a..1fedabac42b 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId(string $eventId): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php index 9abccb4b007..f9b0265ff5c 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class CalendarViewRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class CalendarViewRequestBuilderGetQueryParameters * Instantiates a new CalendarViewRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class CalendarViewRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php index ad669b62210..d7000ab6245 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * Instantiates a new CalendarViewRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * @param int|null $top Show only the first n items * @return CalendarViewRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { - return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { + return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php index 93d5528b11e..993f061e34e 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 1332c581484..a43946a4e79 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 009fdb06676..e6e9903dee5 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php index 8be4b4a42a8..e53741ac288 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.php @@ -110,7 +110,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php index 50aa010b6a1..7c98d01f1a6 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php index 3fa1bc52d68..5bf44763f05 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php index 8e7a53abe70..632ac04eda1 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index c476888794c..61282b0af94 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class InstancesRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index 49da7a9c623..93b0e540fcb 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 92e0c5420c6..8b57450bcc7 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 1a4183f0ca0..45ff3e05c28 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 1eb59ed6444..c05ef9b0879 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index e89e22e5a2b..88ef70f836b 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index b7ac7bbec33..0f3563562a7 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 39f39ec67d1..da4f734b63e 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 1997f18e876..46b9234b369 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index d718557f57c..39a603b0515 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 882198bc6fe..97068d45831 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 71853e8041c..a3b3f1dbc81 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index ff0f9953714..62e1381967c 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index 8f9f30726bb..2aaffb395d8 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 2d42377f4c5..fae8d9af8b6 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 506e4f3f632..a38ef7a0587 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index f1a10ff32ad..e51463bdb39 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index f41a7840787..e139d19ba7f 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index b733d430723..5877faafcb6 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 909734f65d8..692cb480ab0 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php index 4efdd0fad1f..15b4af9bd43 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 845bd37a647..5d465c397b3 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 9ecc27fda69..4983a0642e6 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php index 70fbe836203..cb05a7cffb3 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 8d8c1a59603..bc94e3ce4e8 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class InstancesRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index d65847a4a6d..835dcad19e4 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 352534c932f..3c9c523a334 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 19b9a460c62..2f2f446524e 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 5a22e023510..2da6eb5068d 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index 9bde7c1661e..acbd2163879 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index fbb5665a3d5..5323662afd2 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 43ac05deea4..15438ac9f4c 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index bd6a5a6641f..53d45761aa0 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index fbab0bba61b..e53639327c0 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 6b6220e11c8..37d8b7c418a 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php index a58cdd158f1..3d930946676 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index 5e5eb5e54e8..afbded4ab47 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index a5ee8d9569e..c7d44500140 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 4305c88a8bb..f3f2448ba44 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 4a30efe6ef2..614e4257ab4 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 6cff3929778..e81d47a0788 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 9a100d8d5a6..0a548e32f22 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index ff976baef59..29cb0159c61 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 6bce62ce4da..b56077efdce 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php index dfff0fa0105..e5f76cf1930 100644 --- a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.php @@ -43,7 +43,7 @@ public function byCalendarGroupId(string $calendarGroupId): CalendarGroupItemReq * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetQueryParameters.php index 3938ee575d7..a3e26a77f54 100644 --- a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class CalendarGroupsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class CalendarGroupsRequestBuilderGetQueryParameters /** * Instantiates a new CalendarGroupsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class CalendarGroupsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetRequestConfiguration.php index d3b93c50505..65243a6f36c 100644 --- a/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarGroupsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * @param int|null $top Show only the first n items * @return CalendarGroupsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): CalendarGroupsRequestBuilderGetQueryParameters { - return new CalendarGroupsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): CalendarGroupsRequestBuilderGetQueryParameters { + return new CalendarGroupsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php index 1c34e38e11c..436f077f937 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.php @@ -30,7 +30,7 @@ public function calendars(): CalendarsRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetQueryParameters.php index ae141617979..3ddab7b24f0 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarGroupItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarGroupItemRequestBuilderGetQueryParameters /** * Instantiates a new CalendarGroupItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetRequestConfiguration.php index 3189b28b27a..308469a2078 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarGroupItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarGroupItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarGroupItemRequestBuilderGetQueryParameters { - return new CalendarGroupItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarGroupItemRequestBuilderGetQueryParameters { + return new CalendarGroupItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php index 7774978527c..ad125daf128 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php @@ -43,7 +43,7 @@ public function byCalendarId(string $calendarId): CalendarItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php index 2147e49a43f..ebce0968c57 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class CalendarsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class CalendarsRequestBuilderGetQueryParameters /** * Instantiates a new CalendarsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class CalendarsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetRequestConfiguration.php index 306479ee704..12548e9af8a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * @param int|null $top Show only the first n items * @return CalendarsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): CalendarsRequestBuilderGetQueryParameters { - return new CalendarsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): CalendarsRequestBuilderGetQueryParameters { + return new CalendarsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.php index cb01dd159a5..f7cd6edb199 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.php @@ -64,7 +64,7 @@ public function allowedCalendarSharingRolesWithUser(string $user): AllowedCalend * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilderGetQueryParameters.php index 98aaa39626e..b88304577b8 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarItemRequestBuilderGetQueryParameters /** * Instantiates a new CalendarItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilderGetRequestConfiguration.php index bf8f86a928a..fa66ad9a700 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarItemRequestBuilderGetQueryParameters { - return new CalendarItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarItemRequestBuilderGetQueryParameters { + return new CalendarItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php index 118e6b2d23b..c279ec12b74 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byCalendarPermissionId(string $calendarPermissionId): CalendarPe * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php index ce4bb67036a..df59481cd95 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class CalendarPermissionsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -27,6 +33,12 @@ class CalendarPermissionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -48,16 +60,20 @@ class CalendarPermissionsRequestBuilderGetQueryParameters /** * Instantiates a new CalendarPermissionsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php index 6c9e8d7ba88..bd079762f41 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php @@ -29,15 +29,17 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarPermissionsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return CalendarPermissionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): CalendarPermissionsRequestBuilderGetQueryParameters { - return new CalendarPermissionsRequestBuilderGetQueryParameters($count, $filter, $orderby, $select, $skip, $top); + 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): CalendarPermissionsRequestBuilderGetQueryParameters { + return new CalendarPermissionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.php index 2499be0c07a..65ed55d8e6e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilderGetQueryParameters.php index 446ca635e4f..305117262e9 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilderGetRequestConfiguration.php index 9ea3231fdc0..cf38cd5bee7 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index e88a5ed388a..1a50fb606cd 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php index 2c0269e7878..9080d061f41 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarPermissionItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarPermissionItemRequestBuilderGetQueryParameters /** * Instantiates a new CalendarPermissionItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php index 7c88bb5ffae..328072d03a1 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarPermissionItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarPermissionItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarPermissionItemRequestBuilderGetQueryParameters { - return new CalendarPermissionItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarPermissionItemRequestBuilderGetQueryParameters { + return new CalendarPermissionItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php index 33f28c7035d..0825267f153 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId(string $eventId): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php index 3a81a938073..3c611d41021 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class CalendarViewRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -32,6 +38,12 @@ class CalendarViewRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -59,18 +71,22 @@ class CalendarViewRequestBuilderGetQueryParameters * Instantiates a new CalendarViewRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->startDateTime = $startDateTime; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php index fbb274f1484..de04268b9bd 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php @@ -30,16 +30,18 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * Instantiates a new CalendarViewRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items * @return CalendarViewRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { - return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { + return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.php index 4001e98ddfb..4aee56729e9 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilderGetQueryParameters.php index 1352ecfb3c2..d58ab624d21 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilderGetRequestConfiguration.php index 804c9915308..6a5f61caa5e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index de8e0fc844b..9240a42a3e0 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 691d46eef25..cc29371da19 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 00e05998f33..aaaa08d9384 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.php index b3e639420e9..29f34f3d4bc 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index b30dfc67d16..33ad0de813b 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index b12bee973aa..09282f154c9 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php index d5eaa20f09c..a886060ffb7 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index d50baeef7d4..995afb06588 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 1325cef5991..5ab44d403c2 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php index 1c7f605c4bd..fe925d88c61 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php @@ -110,7 +110,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php index 694f29f4a00..0393863d7c6 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php index d1f41023087..6734e96b036 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.php index c9003e54424..470040274ef 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index d86d5dbdffe..f900a7b6ae4 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 86508b91ef1..21cab1906a8 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php index b047bd9d76b..987d611b93f 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 02f057387eb..22d55e80429 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 29ef3ece10f..963002e7648 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.php index 03a2c5e8409..c52b428cdda 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php index 56a522dcec5..33640174fcd 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php index 822732d4603..86e7af90b0d 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php index dc0fdc433e7..29a06e55d26 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 29eea797941..abf799ac4a1 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -32,6 +38,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -59,18 +71,22 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->startDateTime = $startDateTime; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index bde767d66d1..39ac27380cd 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,16 +30,18 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 1b76dfe01f8..94be4e23cc1 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 8e4913dfdd8..ad96fd50c7e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 10639b47525..3178209224e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index 3255e7e9cfe..05be9d1059d 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 7d66890d8d3..2bec1335745 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 1b8a571414d..771013c7d88 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 5d6e1666534..288909bbdbb 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 8d754381fb5..8d1256729ea 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index e2518bcd0c6..948b927a056 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index c9459daec9a..5bf27eceb71 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index c245946dee9..d32eb25ea6f 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index dd7df9f6893..72f8c0c6dc8 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 315f087df78..5fe5451a57c 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 9ee9807b0ea..aa8547102ac 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index a1d622e9778..357a3cbfd95 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 87c926b4aa4..c00b7dc21e9 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index acc8cf5366d..da5c3aafae8 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 2371402a584..d64db5bd7b4 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.php index 8dd06770ace..53c948cdd84 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilderGetQueryParameters.php index fb88d160944..28be85eef48 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilderGetRequestConfiguration.php index b9638cbc61e..2c94d117436 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.php index 53644df7f31..3e96f816878 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.php @@ -51,7 +51,7 @@ public function byEventId(string $eventId): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php index bb3bff023ad..c876e088e9e 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class EventsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class EventsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetRequestConfiguration.php index d691be89507..8f885de90fa 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return EventsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): EventsRequestBuilderGetQueryParameters { - return new EventsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): EventsRequestBuilderGetQueryParameters { + return new EventsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index b9e8869fcfd..14e961a35b2 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 443081490db..8af7e5c4a83 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index b20450657cf..e47e0ffe923 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.php index eb302ca9d8c..9c542456055 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index ef8ebbd6db6..4043a1df2e6 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index a57bc57d942..07e724ed833 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php index 277ccaede86..784921600bc 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index fd7f145ea93..d26bb796feb 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 0c723a398b0..3f9a0449f2a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.php index cca774c38ec..c71d8a695ef 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 67dc8748649..b1cc46d6477 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index c02fda132e2..bc0dc184507 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php index 4a20fee80f2..f35d8c62e51 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 5fa5a3eeac0..8024270a45d 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 3d2e9e8949b..63c80167ce9 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.php index dd7c1392cf6..0213e2fc4b1 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php index c784eb45b37..e55db89d815 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php index 99a1bc0328e..a5bbfc3a102 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php index 00e25cd6e08..49a013049b1 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 1bb9929845a..d5991516a4b 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -32,6 +38,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -59,18 +71,22 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->startDateTime = $startDateTime; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index 6d7fbb6ee07..d0b21ee867b 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,16 +30,18 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 77e4cf6ae74..c5dc84f92e3 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 77e15b16939..7711362ea70 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 55524fe56d0..b35e6d7c770 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index f9690ce9f2e..c740b2328ea 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 069d5d91741..53c2044496a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 1590a488e02..01de3f75046 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 4eb0b712a03..0b95ef74fbf 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 1231d4fc6e3..e24e3fb0071 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 3539e2f295b..fb585a6be5a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php index cb0e19e7b06..6789f693079 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index 487a7708480..bc4ce61f002 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index efcbd6108f4..2a9149d139b 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 94756f330b8..7d98ae8129c 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index bdbb25a6eb9..a25a8c5b2c3 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 317ed55c080..d3f4b1b2290 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 481b283897a..95e9284792d 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index f627dd7f5df..1e1efdf2b52 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index cf317444779..08702d326c1 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php index d00e725d137..096383ef47b 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 947674de6f2..c2596fe5199 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index ff0e7d36d96..f2700d0fb38 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php index ac5b98b056e..42e0c38d13e 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 519bce34592..09a72e73936 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class InstancesRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index cdc1e361ede..5a6a374f9ec 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index e11d76adf6a..98395ddc854 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 6906c8ec255..a0341622cc6 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index d0a041505bf..65b8404ab2e 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index 1e372009253..ed9e4bc4359 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 030621c87ea..a8650d6f67c 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 0938a98deb2..ac90fe400bc 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 1ce647d7034..8933ba2764a 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 2732c01b65a..8746906840a 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index bd9f40cba5a..ac986463aba 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index 5bd29c14481..15c2fe00057 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index 0a0d2425cf1..2096a800b48 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index a47d7617b25..8d29a6d2346 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 8e667ebb201..5b6a27442dc 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index dd7925f68b6..8d16ad86650 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 6f6baeb3a34..c82996a988b 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index ad403c53373..3464053718c 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 3796db18c31..800d0d5908e 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 6ca9ab4d146..29060b9298b 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php index 4a3a4804af1..1d06092e306 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byCalendarPermissionId(string $calendarPermissionId): CalendarPe * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarPermissions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php index 800ca54c8dd..4dcdf13ceb7 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class CalendarPermissionsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class CalendarPermissionsRequestBuilderGetQueryParameters /** * Instantiates a new CalendarPermissionsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class CalendarPermissionsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php index 89c1ddd48ec..827c2203953 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarPermissionsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * @param int|null $top Show only the first n items * @return CalendarPermissionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): CalendarPermissionsRequestBuilderGetQueryParameters { - return new CalendarPermissionsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): CalendarPermissionsRequestBuilderGetQueryParameters { + return new CalendarPermissionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php index d01f51313e9..ed59e87d4af 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarPermissionItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarPermissions/{calendarPermission%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php index 4290095257f..6ed0985835c 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarPermissionItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarPermissionItemRequestBuilderGetQueryParameters /** * Instantiates a new CalendarPermissionItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php index 0eed2cfcac7..ed6000aeb65 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarPermissionItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarPermissionItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarPermissionItemRequestBuilderGetQueryParameters { - return new CalendarPermissionItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarPermissionItemRequestBuilderGetQueryParameters { + return new CalendarPermissionItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php index 40fb66499c3..6f6825b6231 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId(string $eventId): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php index 59ec74caec8..ffe714f0fd5 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class CalendarViewRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class CalendarViewRequestBuilderGetQueryParameters * Instantiates a new CalendarViewRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class CalendarViewRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php index 3dd698a4106..9a5a74685ea 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * Instantiates a new CalendarViewRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal * @param int|null $top Show only the first n items * @return CalendarViewRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { - return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): CalendarViewRequestBuilderGetQueryParameters { + return new CalendarViewRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 2275cd0469a..032ebf9ee3e 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index b7cb53b3833..c23cd21c4a4 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index fe2e499e579..0bb74b6bace 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.php index 8e5e0b8f883..5bbc7189125 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 95b8a637123..e857588286d 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 33ff28064ee..b4d670c7a3e 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php index 258b7119e2e..2096ed5d7e9 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 02aebfe07ad..bb5756b929f 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 744c90988dd..08844183507 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php index 181bfbce258..e28000028dd 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.php @@ -110,7 +110,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php index 5844da398b9..0177c331525 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php index 3a3c5936f3f..cf158b0e15b 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.php index f7393f0f08f..e8639a42bed 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index b03d76cee2d..5e714b63584 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index e6e50889e2a..863b063c549 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php index 940c61df990..056a6ac9842 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 0a8a05edfad..09e73862165 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 9332176afe8..86c2aa6a3af 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.php index 2df7a5a1d66..a33ba6945dd 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php index 8649a64eb8f..c2e1500a3fe 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php index ec8d8ad8124..7b9bf019409 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php index e2edcc773f8..7fe6b302aac 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 30bfdb50c4a..aed7386e499 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -32,6 +38,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -59,18 +71,22 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->startDateTime = $startDateTime; diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index 5b3537ce11e..3a1b5ade79e 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,16 +30,18 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 79877f4fec6..85e7a4ff51f 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 72d6b2339fe..8fde8ea0408 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index a953962f03f..162b706ca84 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index 6acda76918c..ae1d7e09cd8 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 27098e66ad2..9480758ac3b 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 279df995b86..3989919f282 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 5762c7a8a49..02d78a88ed6 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 964571e10ad..f7b86849289 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 204babe4cbe..8ecd1adb4d3 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php index ce32bf76a89..018d6ca0d04 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index a7ba2fbe377..29bd539e7c5 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index b36133f5754..07980b97238 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index dcf59e1be32..064e9eca180 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 5d7643f59c1..fd9f6790418 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 455426562a0..7c6e14284ab 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 1f466b40355..d54a4ca9160 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 55c61d08dae..3fed8101eb6 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 6e6becf09db..b1bc453f99c 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index 167c8d176f1..1489a8125b3 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 310614f4863..44dd0c60345 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 55081a70f5f..3d81279c68f 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.php index b409dd8afa6..4df43ab04a2 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index ecbbf72cc32..6b96dd93e3b 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index d845e6abc29..df69b6a901d 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php index 97ef62f2860..5b13f927f3d 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index fa3c65a4e02..c22e6eedbf7 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 1f532838045..3a772b80fd2 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.php index c2c4d3f9c40..ed394ae25ac 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index ff5b9da2af5..46e28c3a391 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 3f14e6f757d..6af22e5a71e 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php index 0e3881a2b54..604db0b2ad3 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 482f51dfccb..03eb70d1b66 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index fafc37d33b7..e6331adb654 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.php index 925dff169d9..71942858742 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php index 113104322ec..a113d744f40 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php index 7daba4253cb..9b5f965b9ff 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php index f437b9c229c..a92e0876669 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 395309d51bb..0824397f703 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -32,6 +38,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -59,18 +71,22 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->startDateTime = $startDateTime; diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index addd29e3e0a..472845114cb 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,16 +30,18 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 0e63f86bfed..b08ebd607bf 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 3311c721ebc..50390e6d51b 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index e2de67fe06b..ea401c75059 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index ed7d56bfb1e..bf5776d1adf 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index d9320650da7..c1323bb9000 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 528a1bac3d0..21cd64454df 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 2a2a48e91ad..a664b42d55c 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 18fbbddfbed..2c9f80dc4a4 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index c3386cdc52f..d508d0ffbf8 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php index 537940bf195..9fd2e064450 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index d390fa41e6e..ba1a0acd9f2 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index 8d6c800acd0..341d5fc459b 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 9ab884b472f..68967ba25c4 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index acdc1d49ae7..5db373d7b4c 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 7f3f15874b2..292591ca74e 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index 12eaf5e207e..43c141fe1b2 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 31e1d7dc0ac..bfd67b9c329 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index da3c6b72267..6afcb758a34 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.php index 637c848a79c..ffdfe084340 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.php @@ -51,7 +51,7 @@ public function byContactId(string $contactId): ContactItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php index 5dd060ced8d..a84e8b1511c 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ContactsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ContactsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetRequestConfiguration.php index ca5140ce3bc..7265cca17be 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Con * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ContactsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ContactsRequestBuilderGetQueryParameters { - return new ContactsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ContactsRequestBuilderGetQueryParameters { + return new ContactsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.php index a33154479c9..a9af259f18c 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilderGetQueryParameters.php index f8b8a72f477..59a71c5a62b 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilderGetRequestConfiguration.php index dfc146fdd98..dc7a74a1b5e 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.php index 50a111f390a..6c6e2b6b071 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 589dc9a77a8..a6385e2bedc 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index e9fc29323dc..1e7b04cf320 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php index 6a91f3f2e51..280e63b62a2 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 644b7fad2ce..34e43455515 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 1a1088a06c7..b8985ad66b5 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php index c038b607bb8..b0af4e178ed 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php @@ -30,7 +30,7 @@ public function content(): ContentRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/photo{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/childFolders/{contactFolder%2Did1}/contacts/{contact%2Did}/photo{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php index 805d0730dfe..3c02246b87d 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class PhotoRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class PhotoRequestBuilderGetQueryParameters /** * Instantiates a new PhotoRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php index 83abbd59f04..2c7c2857a1c 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pho /** * Instantiates a new PhotoRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return PhotoRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): PhotoRequestBuilderGetQueryParameters { - return new PhotoRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): PhotoRequestBuilderGetQueryParameters { + return new PhotoRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.php index cfde5658bd2..3eb2145fd9d 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 1fdf8f65624..88013949b76 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 46db61ab7cd..039c73a43d5 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php index 33187b2df8f..7d2621aa528 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 9634f50030f..c966a21b1c8 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 80ee76b1c44..4c5de5d1c93 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php index 4f5baca7991..c08cbd7c1aa 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.php @@ -30,7 +30,7 @@ public function content(): ContentRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/photo{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}/contacts/{contact%2Did}/photo{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php index df80bfcf46d..5f5d07aaf15 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class PhotoRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class PhotoRequestBuilderGetQueryParameters /** * Instantiates a new PhotoRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php index 541285795ab..a37574ee2df 100644 --- a/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pho /** * Instantiates a new PhotoRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return PhotoRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): PhotoRequestBuilderGetQueryParameters { - return new PhotoRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): PhotoRequestBuilderGetQueryParameters { + return new PhotoRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.php index 73b1f61e394..34b29424c57 100644 --- a/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.php @@ -30,7 +30,7 @@ public function content(): ContentRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contacts/{contact%2Did}/photo{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/contacts/{contact%2Did}/photo{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php index db37c86d472..fddba3852f2 100644 --- a/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class PhotoRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class PhotoRequestBuilderGetQueryParameters /** * Instantiates a new PhotoRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php index 8de91931bdd..6dee88e4d41 100644 --- a/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pho /** * Instantiates a new PhotoRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return PhotoRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): PhotoRequestBuilderGetQueryParameters { - return new PhotoRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): PhotoRequestBuilderGetQueryParameters { + return new PhotoRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.php index aca3b53046f..b8db92b4d4e 100644 --- a/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index 0c5d88b6fe1..6a058bedc37 100644 --- a/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index cccf641c42f..93eeddc5c18 100644 --- a/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.php index a1b16b64254..28c0445a1f1 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.php @@ -50,7 +50,7 @@ public function byEventId1(string $eventId1): EventItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php index 3ba9f24200d..d2ed0569c79 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilderGetQueryParameters.php @@ -20,6 +20,12 @@ class InstancesRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -65,6 +71,7 @@ class InstancesRequestBuilderGetQueryParameters * Instantiates a new InstancesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -73,9 +80,10 @@ class InstancesRequestBuilderGetQueryParameters * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { + public function __construct(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null) { $this->count = $count; $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php index 7e3aea6acd0..df2676adb16 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilderGetRequestConfiguration.php @@ -30,6 +30,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * Instantiates a new InstancesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -39,8 +40,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ins * @param int|null $top Show only the first n items * @return InstancesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { - return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); + public static function createQueryParameters(?bool $count = null, ?string $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?string $startDateTime = null, ?int $top = null): InstancesRequestBuilderGetQueryParameters { + return new InstancesRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top); } } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index e42a2398330..b55b811f5e3 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 9996ae0d3f8..cd7a3a7b10d 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class AttachmentsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index ed174a320fb..8e3a5335f9c 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php index a1093278d76..76a7cbc93a6 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 7bdfc009717..43eaa68267b 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index e1c8b5f9f23..1b718918112 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php index 3578a70871a..d6c917ebbd2 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.php @@ -22,7 +22,7 @@ class CalendarRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/calendar{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php index a2d2fcee18e..0adaf25cc37 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class CalendarRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class CalendarRequestBuilderGetQueryParameters /** * Instantiates a new CalendarRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php index 85795f60bfe..7d96e17790b 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cal /** * Instantiates a new CalendarRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return CalendarRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): CalendarRequestBuilderGetQueryParameters { - return new CalendarRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): CalendarRequestBuilderGetQueryParameters { + return new CalendarRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php index 172d7aa10fb..26aa33069d3 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.php @@ -102,7 +102,7 @@ public function tentativelyAccept(): TentativelyAcceptRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}?endDateTime={endDateTime}&startDateTime={startDateTime}{&%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php index 223eacb3e63..c62b662a692 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetQueryParameters.php @@ -14,6 +14,12 @@ class EventItemRequestBuilderGetQueryParameters */ public ?string $endDateTime = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -28,11 +34,13 @@ class EventItemRequestBuilderGetQueryParameters /** * Instantiates a new EventItemRequestBuilderGetQueryParameters and sets the default values. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 */ - public function __construct(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null) { + public function __construct(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null) { $this->endDateTime = $endDateTime; + $this->expand = $expand; $this->select = $select; $this->startDateTime = $startDateTime; } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php index 82630322afb..2168343a6f1 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilderGetRequestConfiguration.php @@ -29,12 +29,13 @@ public function __construct(?array $headers = null, ?array $options = null, ?Eve /** * Instantiates a new EventItemRequestBuilderGetQueryParameters. * @param string|null $endDateTime The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @param string|null $startDateTime The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 * @return EventItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $endDateTime = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { - return new EventItemRequestBuilderGetQueryParameters($endDateTime, $select, $startDateTime); + public static function createQueryParameters(?string $endDateTime = null, ?array $expand = null, ?array $select = null, ?string $startDateTime = null): EventItemRequestBuilderGetQueryParameters { + return new EventItemRequestBuilderGetQueryParameters($endDateTime, $expand, $select, $startDateTime); } } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php index 373feed15b9..0214d14499d 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 9ac3fddfa9c..7a9a025a15f 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 88d344a2e8a..9f66602304f 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php index a64cb9326fd..5b6f035df39 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 5a53566812c..3642170d4bd 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 121cde9434c..f9cd80ea75c 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.php b/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.php index 5c24514c85b..b24a1de31e6 100644 --- a/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.php +++ b/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.php @@ -30,7 +30,7 @@ public function overrides(): OverridesRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/inferenceClassification{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/inferenceClassification{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilderGetQueryParameters.php index edd32955213..7e06c4b1acc 100644 --- a/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class InferenceClassificationRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class InferenceClassificationRequestBuilderGetQueryParameters /** * Instantiates a new InferenceClassificationRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilderGetRequestConfiguration.php index c5251da8ca1..1dbb994b37c 100644 --- a/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Inf /** * Instantiates a new InferenceClassificationRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return InferenceClassificationRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): InferenceClassificationRequestBuilderGetQueryParameters { - return new InferenceClassificationRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): InferenceClassificationRequestBuilderGetQueryParameters { + return new InferenceClassificationRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php b/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php index 0f58b7ef7e1..19c01928edb 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.php @@ -22,7 +22,7 @@ class InferenceClassificationOverrideItemRequestBuilder extends BaseRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/inferenceClassification/overrides/{inferenceClassificationOverride%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/inferenceClassification/overrides/{inferenceClassificationOverride%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilderGetQueryParameters.php index 4dc3c89cfb2..05f878f2e3b 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class InferenceClassificationOverrideItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class InferenceClassificationOverrideItemRequestBuilderGetQueryParameters /** * Instantiates a new InferenceClassificationOverrideItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilderGetRequestConfiguration.php index ec2485f7777..7e15ad40ead 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Inf /** * Instantiates a new InferenceClassificationOverrideItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return InferenceClassificationOverrideItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): InferenceClassificationOverrideItemRequestBuilderGetQueryParameters { - return new InferenceClassificationOverrideItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): InferenceClassificationOverrideItemRequestBuilderGetQueryParameters { + return new InferenceClassificationOverrideItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php index 81213a23a9e..c4ba22f6f1c 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.php @@ -43,7 +43,7 @@ public function byInferenceClassificationOverrideId(string $inferenceClassificat * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/inferenceClassification/overrides{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/inferenceClassification/overrides{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetQueryParameters.php index 628f6d35877..5b21be2c61c 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class OverridesRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class OverridesRequestBuilderGetQueryParameters /** * Instantiates a new OverridesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class OverridesRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetRequestConfiguration.php index acaa2cb79be..eef8282eadf 100644 --- a/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ove /** * Instantiates a new OverridesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ove * @param int|null $top Show only the first n items * @return OverridesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): OverridesRequestBuilderGetQueryParameters { - return new OverridesRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): OverridesRequestBuilderGetQueryParameters { + return new OverridesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php index 4704b7af759..5a96d090704 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.php @@ -22,7 +22,7 @@ class SchedulingGroupItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/schedulingGroups/{schedulingGroup%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php index 0e49e1d334d..b1729976dbf 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class SchedulingGroupItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class SchedulingGroupItemRequestBuilderGetQueryParameters /** * Instantiates a new SchedulingGroupItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php index ed9c9dca43a..7d92d809245 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sch /** * Instantiates a new SchedulingGroupItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return SchedulingGroupItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): SchedulingGroupItemRequestBuilderGetQueryParameters { - return new SchedulingGroupItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): SchedulingGroupItemRequestBuilderGetQueryParameters { + return new SchedulingGroupItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php index fd90c027dd5..5e59d7e86e1 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.php @@ -43,7 +43,7 @@ public function bySchedulingGroupId(string $schedulingGroupId): SchedulingGroupI * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/schedulingGroups{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/schedulingGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php index 2eadd57ea45..a73f5c8018a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class SchedulingGroupsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class SchedulingGroupsRequestBuilderGetQueryParameters /** * Instantiates a new SchedulingGroupsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class SchedulingGroupsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php index 9920d762906..6b4b1e1c6a3 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sch /** * Instantiates a new SchedulingGroupsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Sch * @param int|null $top Show only the first n items * @return SchedulingGroupsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): SchedulingGroupsRequestBuilderGetQueryParameters { - return new SchedulingGroupsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): SchedulingGroupsRequestBuilderGetQueryParameters { + return new SchedulingGroupsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php index 8b8c9f8c4a5..adbb50e24f5 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.php @@ -22,7 +22,7 @@ class ShiftItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/shifts/{shift%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/shifts/{shift%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php index 7a2e55b7b08..772f1def70e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class ShiftItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class ShiftItemRequestBuilderGetQueryParameters /** * Instantiates a new ShiftItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php index 3075d7cd0d3..cdb3a030110 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Shi /** * Instantiates a new ShiftItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return ShiftItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): ShiftItemRequestBuilderGetQueryParameters { - return new ShiftItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): ShiftItemRequestBuilderGetQueryParameters { + return new ShiftItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php index b6ce15cdaf8..63764e8fe28 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.php @@ -43,7 +43,7 @@ public function byShiftId(string $shiftId): ShiftItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/shifts{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/shifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php index cf342751a96..2bbf3309d42 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class ShiftsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class ShiftsRequestBuilderGetQueryParameters /** * Instantiates a new ShiftsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class ShiftsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php index 2bb8a0620c3..5be6b96c15a 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Shi /** * Instantiates a new ShiftsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Shi * @param int|null $top Show only the first n items * @return ShiftsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ShiftsRequestBuilderGetQueryParameters { - return new ShiftsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): ShiftsRequestBuilderGetQueryParameters { + return new ShiftsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php index 72cd9122472..501a6ad57a6 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.php @@ -22,7 +22,7 @@ class TimeOffReasonItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeOffReasons/{timeOffReason%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeOffReasons/{timeOffReason%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php index 72293f555bc..5c9e78c7615 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class TimeOffReasonItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class TimeOffReasonItemRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffReasonItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php index 7563f34bd21..a8ebc406e86 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffReasonItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return TimeOffReasonItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): TimeOffReasonItemRequestBuilderGetQueryParameters { - return new TimeOffReasonItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeOffReasonItemRequestBuilderGetQueryParameters { + return new TimeOffReasonItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php index 122dbdee4e2..c1ee622c6f1 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.php @@ -43,7 +43,7 @@ public function byTimeOffReasonId(string $timeOffReasonId): TimeOffReasonItemReq * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeOffReasons{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeOffReasons{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php index 451f48b7dd0..eea1095c47f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class TimeOffReasonsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class TimeOffReasonsRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffReasonsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class TimeOffReasonsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php index 848e7c01ac3..13758a3e81d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffReasonsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim * @param int|null $top Show only the first n items * @return TimeOffReasonsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimeOffReasonsRequestBuilderGetQueryParameters { - return new TimeOffReasonsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): TimeOffReasonsRequestBuilderGetQueryParameters { + return new TimeOffReasonsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php index 81d53995d97..91f5c98e837 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.php @@ -22,7 +22,7 @@ class TimeOffRequestItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeOffRequests/{timeOffRequest%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php index c1e0dd50e18..05bbe2849fd 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class TimeOffRequestItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class TimeOffRequestItemRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffRequestItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php index 67a9478172a..c43c5a2e6d0 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffRequestItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return TimeOffRequestItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): TimeOffRequestItemRequestBuilderGetQueryParameters { - return new TimeOffRequestItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeOffRequestItemRequestBuilderGetQueryParameters { + return new TimeOffRequestItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index ac54bcaf626..08f1ff99a5e 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -43,7 +43,7 @@ public function byTimeOffRequestId(string $timeOffRequestId): TimeOffRequestItem * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeOffRequests{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeOffRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php index b27a0d5c848..b77154540d7 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class TimeOffRequestsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class TimeOffRequestsRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffRequestsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class TimeOffRequestsRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php index d6c9ed6b6a3..692e78e8a81 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffRequestsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim * @param int|null $top Show only the first n items * @return TimeOffRequestsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimeOffRequestsRequestBuilderGetQueryParameters { - return new TimeOffRequestsRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): TimeOffRequestsRequestBuilderGetQueryParameters { + return new TimeOffRequestsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php index 7c1a5cf0665..3e01d0d8e58 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.php @@ -22,7 +22,7 @@ class TimeOffItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timesOff/{timeOff%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timesOff/{timeOff%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php index af4cca952d4..9be1398cd2f 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class TimeOffItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class TimeOffItemRequestBuilderGetQueryParameters /** * Instantiates a new TimeOffItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php index 965bb13ed54..57d4e185fe4 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimeOffItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return TimeOffItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): TimeOffItemRequestBuilderGetQueryParameters { - return new TimeOffItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): TimeOffItemRequestBuilderGetQueryParameters { + return new TimeOffItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php index 34b77992247..94850300ddf 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.php @@ -43,7 +43,7 @@ public function byTimeOffId(string $timeOffId): TimeOffItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timesOff{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timesOff{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php index d6bab86792f..7dfec713858 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class TimesOffRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class TimesOffRequestBuilderGetQueryParameters /** * Instantiates a new TimesOffRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class TimesOffRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php index a73bb40b456..c1d173748e8 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim /** * Instantiates a new TimesOffRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Tim * @param int|null $top Show only the first n items * @return TimesOffRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): TimesOffRequestBuilderGetQueryParameters { - return new TimesOffRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): TimesOffRequestBuilderGetQueryParameters { + return new TimesOffRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.php index e2b157ebf88..3f692042cdd 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilderGetQueryParameters.php index e55f0a3ca71..d493a7fb3a8 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilderGetRequestConfiguration.php index e0e0c845c2d..5cf93b45fc9 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php index 60109feb2c5..24995babde6 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php @@ -22,7 +22,7 @@ class MessageRuleItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/{messageRule%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules/{messageRule%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php index e55c01feb6a..116029d465c 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class MessageRuleItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class MessageRuleItemRequestBuilderGetQueryParameters /** * Instantiates a new MessageRuleItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetRequestConfiguration.php index baa0c558bcf..44f63074b04 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Mes /** * Instantiates a new MessageRuleItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return MessageRuleItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): MessageRuleItemRequestBuilderGetQueryParameters { - return new MessageRuleItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): MessageRuleItemRequestBuilderGetQueryParameters { + return new MessageRuleItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php index cd3a6c99fd2..6ffb3b38b85 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.php @@ -43,7 +43,7 @@ public function byMessageRuleId(string $messageRuleId): MessageRuleItemRequestBu * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messageRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php index 962e3a2c57c..7d266f0ca1e 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class MessageRulesRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -27,6 +33,12 @@ class MessageRulesRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -48,16 +60,20 @@ class MessageRulesRequestBuilderGetQueryParameters /** * Instantiates a new MessageRulesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetRequestConfiguration.php index d2d6719831e..ee960e027b5 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilderGetRequestConfiguration.php @@ -29,15 +29,17 @@ public function __construct(?array $headers = null, ?array $options = null, ?Mes /** * Instantiates a new MessageRulesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return MessageRulesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): MessageRulesRequestBuilderGetQueryParameters { - return new MessageRulesRequestBuilderGetQueryParameters($count, $filter, $orderby, $select, $skip, $top); + 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): MessageRulesRequestBuilderGetQueryParameters { + return new MessageRulesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 37c2576e92a..962b9185140 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index f31f871e1d9..7fa7599f2b7 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,26 +33,50 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned */ public ?array $select = null; + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + /** * Instantiates a new AttachmentsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; + $this->skip = $skip; + $this->top = $top; } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 2b57773f5ea..865e097c1b5 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,11 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.php index 019aff0c579..331ae717e3b 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 65e55952bb4..f61e05e53dd 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 61c77f3d550..7b3ea040def 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.php index 6f39dc4bc4a..a24262902ce 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index 767ead2b59a..6f22d4c90c5 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 667c71f2ba7..50616c79560 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php index ce92a894794..452d0e5f2b3 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 843484648a3..e240b5fd1b0 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index 5457cb3ff1b..f24c3f2f553 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php index 47d6a9a3885..2cf0193272f 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.php @@ -22,7 +22,7 @@ class MessageRuleItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messageRules/{messageRule%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messageRules/{messageRule%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php index 26c27ba1b57..c5f408a90bf 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class MessageRuleItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class MessageRuleItemRequestBuilderGetQueryParameters /** * Instantiates a new MessageRuleItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetRequestConfiguration.php index 8d153eb364a..a34d7a72742 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Mes /** * Instantiates a new MessageRuleItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return MessageRuleItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): MessageRuleItemRequestBuilderGetQueryParameters { - return new MessageRuleItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): MessageRuleItemRequestBuilderGetQueryParameters { + return new MessageRuleItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php index b3c696ce953..fbb22b64184 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.php @@ -43,7 +43,7 @@ public function byMessageRuleId(string $messageRuleId): MessageRuleItemRequestBu * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messageRules{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messageRules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php index 82cb265b31c..44727a7a886 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class MessageRulesRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class MessageRulesRequestBuilderGetQueryParameters /** * Instantiates a new MessageRulesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class MessageRulesRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetRequestConfiguration.php index fef8b06e273..2100127a4ee 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Mes /** * Instantiates a new MessageRulesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Mes * @param int|null $top Show only the first n items * @return MessageRulesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): MessageRulesRequestBuilderGetQueryParameters { - return new MessageRulesRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): MessageRulesRequestBuilderGetQueryParameters { + return new MessageRulesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 94b767f942e..97f512d2fb0 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentId(string $attachmentId): AttachmentItemRequestBuild * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 7e71605644b..abacab54db4 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -33,26 +33,50 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned */ public ?array $select = null; + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + /** * Instantiates a new AttachmentsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; + $this->skip = $skip; + $this->top = $top; } } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 905cc39e505..885dc57485d 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -32,11 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.php index cc01e09bb74..621b0a86823 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index 3ad4b5d2165..ec91d774b03 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 0e7b0242a89..5ee5be88cf3 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.php index 1f1988d1310..3082415cd86 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php index dec097511cc..0a95d779d4e 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php index 156daf78171..a79b281dbb2 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php index f142e491aa1..d987de94776 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.php @@ -43,7 +43,7 @@ public function byExtensionId(string $extensionId): ExtensionItemRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php index 66473a03ce0..4dfcc390a4d 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetQueryParameters.php @@ -33,6 +33,12 @@ class ExtensionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -57,15 +63,17 @@ class ExtensionsRequestBuilderGetQueryParameters * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php index d404c73bc50..4da1a35c4ba 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilderGetRequestConfiguration.php @@ -32,13 +32,14 @@ public function __construct(?array $headers = null, ?array $options = null, ?Ext * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return ExtensionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): ExtensionsRequestBuilderGetQueryParameters { - return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $select, $skip, $top); + 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): ExtensionsRequestBuilderGetQueryParameters { + return new ExtensionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php index 88c4c3eba9d..f53ae7b59d9 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php @@ -46,10 +46,11 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * The content of the transcript. Read-only. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -95,7 +96,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * The content of the transcript. Read-only. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php index 373a2113ae7..7fd7e63bfe6 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?MetadataContentRequestBuilderDeleteRequestConfiguration } /** - * The time-aligned metadata of the utterances in the transcript. Read-only. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param MetadataContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 Find more info here */ public function get(?MetadataContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -96,7 +97,7 @@ public function toDeleteRequestInformation(?MetadataContentRequestBuilderDeleteR } /** - * The time-aligned metadata of the utterances in the transcript. Read-only. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param MetadataContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php index c19123b40f2..92c59d89044 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.php @@ -22,7 +22,7 @@ class OutlookCategoryItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/outlook/masterCategories/{outlookCategory%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/outlook/masterCategories/{outlookCategory%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetQueryParameters.php index e1b5777a91a..fc846942717 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class OutlookCategoryItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class OutlookCategoryItemRequestBuilderGetQueryParameters /** * Instantiates a new OutlookCategoryItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetRequestConfiguration.php index 77d34adccbd..880d0cdf5d0 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Out /** * Instantiates a new OutlookCategoryItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return OutlookCategoryItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): OutlookCategoryItemRequestBuilderGetQueryParameters { - return new OutlookCategoryItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): OutlookCategoryItemRequestBuilderGetQueryParameters { + return new OutlookCategoryItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php index c4240204d63..a848275ddfe 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.php @@ -43,7 +43,7 @@ public function byOutlookCategoryId(string $outlookCategoryId): OutlookCategoryI * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/outlook/masterCategories{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/outlook/masterCategories{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetQueryParameters.php index ea235ee1c4e..c6e5b64633d 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class MasterCategoriesRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class MasterCategoriesRequestBuilderGetQueryParameters /** * Instantiates a new MasterCategoriesRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class MasterCategoriesRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetRequestConfiguration.php index dbcb9a0a379..6a505ed9c59 100644 --- a/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Mas /** * Instantiates a new MasterCategoriesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Mas * @param int|null $top Show only the first n items * @return MasterCategoriesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): MasterCategoriesRequestBuilderGetQueryParameters { - return new MasterCategoriesRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): MasterCategoriesRequestBuilderGetQueryParameters { + return new MasterCategoriesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Outlook/OutlookRequestBuilder.php b/src/Generated/Users/Item/Outlook/OutlookRequestBuilder.php index dd321c15f67..e671af6542c 100644 --- a/src/Generated/Users/Item/Outlook/OutlookRequestBuilder.php +++ b/src/Generated/Users/Item/Outlook/OutlookRequestBuilder.php @@ -47,7 +47,7 @@ public function supportedTimeZones(): SupportedTimeZonesRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/outlook{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/outlook{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Outlook/OutlookRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Outlook/OutlookRequestBuilderGetQueryParameters.php index df1c75fceab..11ffdc424ba 100644 --- a/src/Generated/Users/Item/Outlook/OutlookRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Outlook/OutlookRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class OutlookRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class OutlookRequestBuilderGetQueryParameters /** * Instantiates a new OutlookRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Outlook/OutlookRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Outlook/OutlookRequestBuilderGetRequestConfiguration.php index 00476f33906..bf33d849ac5 100644 --- a/src/Generated/Users/Item/Outlook/OutlookRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Outlook/OutlookRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Out /** * Instantiates a new OutlookRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return OutlookRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): OutlookRequestBuilderGetQueryParameters { - return new OutlookRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): OutlookRequestBuilderGetQueryParameters { + return new OutlookRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/People/Item/PersonItemRequestBuilder.php b/src/Generated/Users/Item/People/Item/PersonItemRequestBuilder.php index dc569376a26..beb1d5a9ead 100644 --- a/src/Generated/Users/Item/People/Item/PersonItemRequestBuilder.php +++ b/src/Generated/Users/Item/People/Item/PersonItemRequestBuilder.php @@ -22,7 +22,7 @@ class PersonItemRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/people/{person%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/people/{person%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/People/Item/PersonItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/People/Item/PersonItemRequestBuilderGetQueryParameters.php index 240182255c2..fcc07b77295 100644 --- a/src/Generated/Users/Item/People/Item/PersonItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/People/Item/PersonItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class PersonItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class PersonItemRequestBuilderGetQueryParameters /** * Instantiates a new PersonItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/People/Item/PersonItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/People/Item/PersonItemRequestBuilderGetRequestConfiguration.php index 1a3cfeb451d..c04d0bc2d03 100644 --- a/src/Generated/Users/Item/People/Item/PersonItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/People/Item/PersonItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Per /** * Instantiates a new PersonItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return PersonItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): PersonItemRequestBuilderGetQueryParameters { - return new PersonItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): PersonItemRequestBuilderGetQueryParameters { + return new PersonItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/People/PeopleRequestBuilder.php b/src/Generated/Users/Item/People/PeopleRequestBuilder.php index 3c86c4d8cfe..7d86b6067bc 100644 --- a/src/Generated/Users/Item/People/PeopleRequestBuilder.php +++ b/src/Generated/Users/Item/People/PeopleRequestBuilder.php @@ -42,7 +42,7 @@ public function byPersonId(string $personId): PersonItemRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/people{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/people{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/People/PeopleRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/People/PeopleRequestBuilderGetQueryParameters.php index 75582943aa5..c3c8f3564a9 100644 --- a/src/Generated/Users/Item/People/PeopleRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/People/PeopleRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class PeopleRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class PeopleRequestBuilderGetQueryParameters /** * Instantiates a new PeopleRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class PeopleRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/People/PeopleRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/People/PeopleRequestBuilderGetRequestConfiguration.php index 8f348c990a6..3a8e20d7558 100644 --- a/src/Generated/Users/Item/People/PeopleRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/People/PeopleRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Peo /** * Instantiates a new PeopleRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Peo * @param int|null $top Show only the first n items * @return PeopleRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PeopleRequestBuilderGetQueryParameters { - return new PeopleRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): PeopleRequestBuilderGetQueryParameters { + return new PeopleRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Photo/PhotoRequestBuilder.php b/src/Generated/Users/Item/Photo/PhotoRequestBuilder.php index 03c80db339a..167187465af 100644 --- a/src/Generated/Users/Item/Photo/PhotoRequestBuilder.php +++ b/src/Generated/Users/Item/Photo/PhotoRequestBuilder.php @@ -30,7 +30,7 @@ public function content(): ContentRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/photo{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/photo{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetQueryParameters.php index eb09afd24f3..f66c756e122 100644 --- a/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class PhotoRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class PhotoRequestBuilderGetQueryParameters /** * Instantiates a new PhotoRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php index a1f322944f0..f30b63f647e 100644 --- a/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Photo/PhotoRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pho /** * Instantiates a new PhotoRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return PhotoRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): PhotoRequestBuilderGetQueryParameters { - return new PhotoRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): PhotoRequestBuilderGetQueryParameters { + return new PhotoRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php index 62a83605d71..9eb58a1b3b7 100644 --- a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php +++ b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.php @@ -30,7 +30,7 @@ public function content(): ContentRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/photos/{profilePhoto%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/photos/{profilePhoto%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php index 8058e4f9e0b..b9d9519346d 100644 --- a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class ProfilePhotoItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class ProfilePhotoItemRequestBuilderGetQueryParameters /** * Instantiates a new ProfilePhotoItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetRequestConfiguration.php index 940120c86aa..e769ade5279 100644 --- a/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pro /** * Instantiates a new ProfilePhotoItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return ProfilePhotoItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): ProfilePhotoItemRequestBuilderGetQueryParameters { - return new ProfilePhotoItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): ProfilePhotoItemRequestBuilderGetQueryParameters { + return new ProfilePhotoItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php b/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php index f4e24c39a9b..50c2c59163b 100644 --- a/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php +++ b/src/Generated/Users/Item/Photos/PhotosRequestBuilder.php @@ -34,7 +34,7 @@ public function byProfilePhotoId(string $profilePhotoId): ProfilePhotoItemReques * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/photos{?%24count,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/photos{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetQueryParameters.php index 7124ec450ea..f8da4c3f62e 100644 --- a/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class PhotosRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -54,6 +60,7 @@ class PhotosRequestBuilderGetQueryParameters /** * Instantiates a new PhotosRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -61,8 +68,9 @@ class PhotosRequestBuilderGetQueryParameters * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; $this->search = $search; diff --git a/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetRequestConfiguration.php index 4505291111c..89de682d029 100644 --- a/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Photos/PhotosRequestBuilderGetRequestConfiguration.php @@ -29,6 +29,7 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pho /** * Instantiates a new PhotosRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values * @param string|null $search Search items by search phrases @@ -37,8 +38,8 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pho * @param int|null $top Show only the first n items * @return PhotosRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): PhotosRequestBuilderGetQueryParameters { - return new PhotosRequestBuilderGetQueryParameters($count, $filter, $orderby, $search, $select, $skip, $top); + 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): PhotosRequestBuilderGetQueryParameters { + return new PhotosRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.php index b37c8047a5c..6185c8432b7 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.php @@ -42,7 +42,7 @@ public function byAttachmentSessionId(string $attachmentSessionId): AttachmentSe * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilderGetQueryParameters.php index d7384a2b022..9a6cf9c4ce7 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class AttachmentSessionsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -27,6 +33,12 @@ class AttachmentSessionsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -48,16 +60,20 @@ class AttachmentSessionsRequestBuilderGetQueryParameters /** * Instantiates a new AttachmentSessionsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilderGetRequestConfiguration.php index 1415472c293..e542676cb72 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilderGetRequestConfiguration.php @@ -29,15 +29,17 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att /** * Instantiates a new AttachmentSessionsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentSessionsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentSessionsRequestBuilderGetQueryParameters { - return new AttachmentSessionsRequestBuilderGetQueryParameters($count, $filter, $orderby, $select, $skip, $top); + 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): AttachmentSessionsRequestBuilderGetQueryParameters { + return new AttachmentSessionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.php index c299002f0b2..e52aeebb72d 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilderGetQueryParameters.php index 4d2e73e303e..e8c77ac00dc 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilderGetRequestConfiguration.php index b12d75adeaf..e429ce477a0 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.php index bdff87fac0d..14c0617e059 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.php @@ -30,7 +30,7 @@ public function content(): ContentRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/{attachmentSession%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachmentSessions/{attachmentSession%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilderGetQueryParameters.php index 9e605912e87..bde0c049942 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class AttachmentSessionItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class AttachmentSessionItemRequestBuilderGetQueryParameters /** * Instantiates a new AttachmentSessionItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilderGetRequestConfiguration.php index 769d6d4f73b..064cd18b5ad 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att /** * Instantiates a new AttachmentSessionItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return AttachmentSessionItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): AttachmentSessionItemRequestBuilderGetQueryParameters { - return new AttachmentSessionItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): AttachmentSessionItemRequestBuilderGetQueryParameters { + return new AttachmentSessionItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.php index b96c843f3be..44da595a330 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.php @@ -51,7 +51,7 @@ public function byAttachmentBaseId(string $attachmentBaseId): AttachmentBaseItem * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments{?%24count,%24filter,%24orderby,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index d00a80ed0b4..78ac25c5373 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -15,6 +15,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?bool $count = null; + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24filter") * @var string|null $filter Filter items by property values @@ -27,6 +33,12 @@ class AttachmentsRequestBuilderGetQueryParameters */ public ?array $orderby = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -48,16 +60,20 @@ class AttachmentsRequestBuilderGetQueryParameters /** * Instantiates a new AttachmentsRequestBuilderGetQueryParameters and sets the default values. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items */ - public function __construct(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + 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) { $this->count = $count; + $this->expand = $expand; $this->filter = $filter; $this->orderby = $orderby; + $this->search = $search; $this->select = $select; $this->skip = $skip; $this->top = $top; diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php index 9dc7ee4398e..9614e6e63a5 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilderGetRequestConfiguration.php @@ -29,15 +29,17 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att /** * Instantiates a new AttachmentsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items * @return AttachmentsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?array $orderby = null, ?array $select = null, ?int $skip = null, ?int $top = null): AttachmentsRequestBuilderGetQueryParameters { - return new AttachmentsRequestBuilderGetQueryParameters($count, $filter, $orderby, $select, $skip, $top); + 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): AttachmentsRequestBuilderGetQueryParameters { + return new AttachmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.php index e8e2bb616d5..a7430d690d5 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.php @@ -21,7 +21,7 @@ class CountRequestBuilder extends BaseRequestBuilder * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/$count{?%24filter}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/$count{?%24filter,%24search}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php index b8f09fffcc7..c95ac51b137 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilderGetQueryParameters.php @@ -15,12 +15,20 @@ class CountRequestBuilderGetQueryParameters */ public ?string $filter = null; + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + /** * Instantiates a new CountRequestBuilderGetQueryParameters and sets the default values. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases */ - public function __construct(?string $filter = null) { + public function __construct(?string $filter = null, ?string $search = null) { $this->filter = $filter; + $this->search = $search; } } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php index 15b56f0ebe2..441894eb2ca 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilderGetRequestConfiguration.php @@ -29,10 +29,11 @@ public function __construct(?array $headers = null, ?array $options = null, ?Cou /** * Instantiates a new CountRequestBuilderGetQueryParameters. * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases * @return CountRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?string $filter = null): CountRequestBuilderGetQueryParameters { - return new CountRequestBuilderGetQueryParameters($filter); + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); } } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.php index 2576ef32911..79a560c7793 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.php @@ -30,7 +30,7 @@ public function content(): ContentRequestBuilder { * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/{attachmentBase%2Did}{?%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}/attachments/{attachmentBase%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetQueryParameters.php index 3ca103867b9..cb32d0344ee 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetQueryParameters.php @@ -9,6 +9,12 @@ */ class AttachmentBaseItemRequestBuilderGetQueryParameters { + /** + * @QueryParameter("%24expand") + * @var array|null $expand Expand related entities + */ + public ?array $expand = null; + /** * @QueryParameter("%24select") * @var array|null $select Select properties to be returned @@ -17,9 +23,11 @@ class AttachmentBaseItemRequestBuilderGetQueryParameters /** * Instantiates a new AttachmentBaseItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned */ - public function __construct(?array $select = null) { + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; $this->select = $select; } diff --git a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetRequestConfiguration.php index b325c66ceb2..1e08ddf523d 100644 --- a/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilderGetRequestConfiguration.php @@ -28,11 +28,12 @@ public function __construct(?array $headers = null, ?array $options = null, ?Att /** * Instantiates a new AttachmentBaseItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned * @return AttachmentBaseItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $select = null): AttachmentBaseItemRequestBuilderGetQueryParameters { - return new AttachmentBaseItemRequestBuilderGetQueryParameters($select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): AttachmentBaseItemRequestBuilderGetQueryParameters { + return new AttachmentBaseItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index 1f0d5388ae4..7fbf9c4c83a 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -617,11 +617,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. + * Deletes a user. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -646,7 +646,7 @@ public function exportDeviceAndAppManagementDataWithSkipWithTop(int $skip, int $ * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 Find more info here */ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -657,12 +657,12 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. Customers through Microsoft Entra ID for customers can also use this API operation to update their details. See Default user permissions in customer tenants for the list of properties they can update. + * Update the properties of a user object. * @param User $body The request body * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -683,7 +683,7 @@ public function reminderViewWithStartDateTimeWithEndDateTime(string $endDateTime } /** - * Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. + * Deletes a user. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -722,7 +722,7 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } /** - * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. Customers through Microsoft Entra ID for customers can also use this API operation to update their details. See Default user permissions in customer tenants for the list of properties they can update. + * Update the properties of a user object. * @param User $body The request body * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index a110c5a1cfa..5b8f8ac1f05 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "228DBD2669F051EAF07E85C0B4785D1ED3E57A28022B67D64ACC2F757756E39FA2792C9324E9E816D2E0191098BEE72BE55B1BC266D5194B89F2E51E5A9AE670", + "descriptionHash": "C7F9172292E3ECA079F558EC2574C31EF90F08F23ED80199D66DAB081C207A94FA461D3FF22D4A3B0AFB234E006876C0C49BF1E3DEE063D5B571DF92DE9328F3", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.15.0",